]> code.citadel.org Git - citadel.git/blobdiff - textclient/citadel.c
Truncate username display to 25 characters so it doesn't overrun the column
[citadel.git] / textclient / citadel.c
index c22a2efacc3da0bdf0e21d9a9b9309d7424a423e..0bab0a56630a54eb7586c970e22c94e9fba1e8d4 100644 (file)
@@ -160,7 +160,7 @@ void formout(CtdlIPC * ipc, char *name)
 
 void userlist(CtdlIPC * ipc, char *patn) {
        char buf[SIZ];
-       char fl[SIZ];
+       char fl[26];            // a buffer this small will prevent it overrunning the column
        struct tm tmbuf;
        time_t lc;
        int r;                  // IPC response code
@@ -1471,7 +1471,7 @@ int main(int argc, char **argv) {
                logoff(ipc, atoi(aaa));
        }
 
-#ifdef HAVE_OPENSSL
+#ifdef HAVE_OPENSSLLLLLL
        /* Evaluate encryption preferences */
        if (arg_encrypt != RC_NO && rc_encrypt != RC_NO) {
                if (!ipc->isLocal || arg_encrypt == RC_YES || rc_encrypt == RC_YES) {