X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fuserlist.c;h=5354722a7728c3604023e1fe9b67565e26ae0995;hb=f6df762979437d12004feb37bd1535f4880094ff;hp=db120a9f16ec1f69a6151955bd192489a8caf448;hpb=7f22c47809a3e10566f791acb7e6cb52197e6626;p=citadel.git diff --git a/citadel/userlist.c b/citadel/userlist.c index db120a9f1..5354722a7 100644 --- a/citadel/userlist.c +++ b/citadel/userlist.c @@ -21,8 +21,8 @@ void logoff(int code) } void userlist(void) { - char buf[256]; - char fl[256]; + char buf[SIZ]; + char fl[SIZ]; struct tm *tmbuf; time_t lc; @@ -54,8 +54,8 @@ void userlist(void) { int main(int argc, char **argv) { - char buf[256]; - char hostbuf[256], portbuf[256]; + char buf[SIZ]; + char hostbuf[SIZ], portbuf[SIZ]; attach_to_server(argc, argv, hostbuf, portbuf); serv_gets(buf);