]> code.citadel.org Git - citadel.git/blobdiff - citadel/sendcommand.c
* Numerous fixups needed for Windows port:
[citadel.git] / citadel / sendcommand.c
index 9960af66737475023a219b11a0095f69dcf2fbad..599655dd7a81c9d9b7585dba9a9cb9c99719be82 100644 (file)
@@ -110,6 +110,8 @@ void np_attach_to_server(void)
        {"sendcommand", NULL};
        int r;
 
+       strcpy(hostbuf, "localhost");
+       strcpy(portbuf, "citadel");
        fprintf(stderr, "Attaching to server...\n");
        ipc = CtdlIPC_new(1, args, hostbuf, portbuf);
        CtdlIPC_getline(ipc, buf);