Simplify.

pull/211/merge
Roger A. Light 11 years ago
parent bd2aa2f426
commit 7911db1a1e

@ -103,7 +103,7 @@ int mqtt3_socket_accept(struct mosquitto_db *db, int listensock)
}
COMPAT_CLOSE(new_sock);
return -1;
}else{
}
#endif
new_context = mqtt3_context_init(new_sock);
if(!new_context){
@ -193,9 +193,6 @@ int mqtt3_socket_accept(struct mosquitto_db *db, int listensock)
// If we got here then the context's DB index is "i" regardless of how we got here
new_context->db_index = i;
#ifdef WITH_WRAP
}
#endif
return new_sock;
}

Loading…
Cancel
Save