Fixed problem introduced by last merge.
@@ -124,11 +124,10 @@ struct neat_socketapi_internals* nsa_initialize()
/* ====== Initialize identifier bitmap ============================= */
gSocketAPIInternals->nsi_socket_identifier_bitmap = ibm_new(FD_SETSIZE);
if(gSocketAPIInternals->nsi_socket_identifier_bitmap != NULL) {
- /* ====== NEAT context ========================================== */
- neat_log_level(gSocketAPIInternals->nsi_neat_context, NEAT_LOG_ERROR); /* This may be improved ... */
-
gSocketAPIInternals->nsi_neat_context = neat_init_ctx();
if(gSocketAPIInternals->nsi_neat_context != NULL) {
+ neat_log_level(gSocketAPIInternals->nsi_neat_context, NEAT_LOG_ERROR); /* This may be improved ... */
+
/* ====== Map stdin, stdout, stderr file descriptors ========= */
assert(nsa_map_socket(STDOUT_FILENO, STDOUT_FILENO) == STDOUT_FILENO);
assert(nsa_map_socket(STDIN_FILENO, STDIN_FILENO) == STDIN_FILENO);
