X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Froutines2.c;h=07012ab1a6f16a306415aa744100ad12bf9525d3;hb=30cff7427b406571a0edf1c342573c0844f387f1;hp=5264df344f21425491c74dfa90c6d827521bca7f;hpb=a57676f1f8762b59b730b91a139d2a6dd3c68ba8;p=citadel.git diff --git a/citadel/routines2.c b/citadel/routines2.c index 5264df344..07012ab1a 100644 --- a/citadel/routines2.c +++ b/citadel/routines2.c @@ -592,7 +592,7 @@ void list_bio(CtdlIPC *ipc) pprintf("%s\n", buf); return; } - while (strlen(resp)) { + while (resp && strlen(resp)) { extract_token(buf, resp, 0, '\n', sizeof buf); remove_token(resp, 0, '\n'); if ((pos + strlen(buf) + 5) > screenwidth) {