X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/7bbb36214421667fcd0dd5b9462e647307d5a504..cfb9cf20cb8112f45b4cb4f9106f290bfc7ede18:/test/src/client.c?ds=sidebyside diff --git a/test/src/client.c b/test/src/client.c index a5e9e9da2..4ac130df2 100644 --- a/test/src/client.c +++ b/test/src/client.c @@ -529,7 +529,7 @@ static void do_file(srv_ctx * srv, FILE * f, int timeout, unsigned char * inbuffer, unsigned bsiz, unsigned char * inptr) { -unsigned char outbuffer[10240]; +unsigned char outbuffer[1024 * 20]; while (fgets(CS outbuffer, sizeof(outbuffer), f) != NULL) { @@ -712,7 +712,7 @@ int rc; FILE * new_f; if (!(new_f = fopen(outbuffer+4 , "r"))) { - printf("Unable to open '%s': %s", inptr, sys_errlist[errno]); + printf("Unable to open '%s': %s", inptr, strerror(errno)); exit(74); } do_file(srv, new_f, timeout, inbuffer, bsiz, inptr);