* Finished the "arbitrary service" registration.
[citadel.git] / citadel / dynloader.c
index a9e734ca320de4af6af705412ff6a39008ff1130..4d26b594526294387d3a4e628cf30bc67b62797a 100644 (file)
@@ -240,6 +240,7 @@ void CtdlRegisterServiceHook(int tcp_port,
        newfcn->tcp_port = tcp_port;
        newfcn->h_greeting_function = h_greeting_function;
        newfcn->h_command_function = h_command_function;
+       newfcn->msock = (-1);
        ServiceHookTable = newfcn;
        lprintf(5, "Registered a new service (TCP port %d)\n", tcp_port);
 }