X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Froutines.c;h=6e509e3350c8d95602aec2095eeb12b3755fcbd4;hb=b425dda0a48b4a3e24a9f22d25e864d42679feee;hp=cf627a5294335d4aaa5bd544ef7f681d23ea8d5b;hpb=8b8941a7c48dfcbec1f356150990da20093d6a16;p=citadel.git diff --git a/citadel/routines.c b/citadel/routines.c index cf627a529..6e509e335 100644 --- a/citadel/routines.c +++ b/citadel/routines.c @@ -84,7 +84,7 @@ void hit_any_key(CtdlIPC *ipc) { /* hit any key to continue */ color(COLOR_POP); stty_ctdl(0); b=inkey(); - for (a=0; aServInfo.moreprompt); ++a) + for (a=0; !IsEmptyStr(&ipc->ServInfo.moreprompt[0]); ++a) scr_putc(' '); scr_putc(13); stty_ctdl(1); @@ -345,10 +345,11 @@ int getstring(FILE *fp, char *string) /* Searches for patn in search string */ int pattern(char *search, char *patn) { - int a,b; - - for (a=0; a126) string[a]=32; } @@ -451,7 +452,7 @@ void locate_host(CtdlIPC* ipc, char *hbuf) pclose(who); b = 0; - for (a=0; a