Testsuite: accept different debug detail for peer-terminated connection
[users/jgh/exim.git] / test / src / client.c
index 2c90d565c1818ae91154c0c4a45ceca672b5070b..4ac130df2d890ea29c6038e0ff0085ec135c412a 100644 (file)
@@ -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);