X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;ds=sidebyside;f=client.c;h=c6b259bbd899c73046766ab8a1e33a572efe5ba5;hb=1d35a00dbbeded00ba674d74ac9241582b22627d;hp=7f120134107c756f6fb5f82efbec34db6d50ce6b;hpb=26f06c01c4cb357d9e4fb6d0cd0386e70f7e6b6e;p=userv.git diff --git a/client.c b/client.c index 7f12013..c6b259b 100644 --- a/client.c +++ b/client.c @@ -284,7 +284,7 @@ static void getprogress(struct progress_msg *progress_r, FILE *file) { for (i=0; idata.errmsg.messagelen; i++) { c= working_getc(file); if (c==EOF) protoreaderror(file,"in error message"); - if (isprint(c)) putc(c,stderr); + if (ISCHAR(isprint,c)) putc(c,stderr); else fprintf(stderr,"\\x%02x",(unsigned char)c); } putc('\n',stderr);