]> code.citadel.org Git - citadel.git/blobdiff - citadel/whobbs.c
* Client stability and enhancements:
[citadel.git] / citadel / whobbs.c
index 1ccd5a6b4e09e8f9a34d29d997078975aaf187c4..2dd59ef793f446ea4e2a0990b8795cba0e347bc8 100644 (file)
@@ -60,7 +60,6 @@ int main(int argc, char **argv)
        int r;                  /* IPC response code */
        time_t timenow;
        char *listing = NULL;
-       struct CtdlServInfo serv_info;
        CtdlIPC *ipc = NULL;
 
        /* If this environment variable is set, we assume that the program
@@ -80,10 +79,10 @@ int main(int argc, char **argv)
                logoff(atoi(buf));
                }
        strcpy(nodetitle, "this BBS");
-       r = CtdlIPCServerInfo(ipc, &serv_info, buf);
+       r = CtdlIPCServerInfo(ipc, buf);
        if (r / 100 == 1) {
-               my_pid = serv_info.serv_pid;
-               strcpy(nodetitle, serv_info.serv_humannode);
+               my_pid = ipc->ServInfo.pid;
+               strcpy(nodetitle, ipc->ServInfo.humannode);
        }
        
        if (www) {