22 lines
833 B
Diff
22 lines
833 B
Diff
diff -up ypserv-2.26/rpc.yppasswdd/update.c.errmsg ypserv-2.26/rpc.yppasswdd/update.c
|
|
--- ypserv-2.26/rpc.yppasswdd/update.c.errmsg 2011-10-10 13:24:05.124197343 +0200
|
|
+++ ypserv-2.26/rpc.yppasswdd/update.c 2011-10-10 13:24:38.955195031 +0200
|
|
@@ -1006,7 +1006,7 @@ external_update_pipe (yppasswd *yppw, ch
|
|
if (!fgets(childresponse, 1024, fp))
|
|
{
|
|
childresponse[0] = '\0';
|
|
- log_msg ("fgets() call failed.");
|
|
+ log_msg ("fgets() call failed or EOF.");
|
|
}
|
|
fclose(fp);
|
|
|
|
@@ -1016,7 +1016,7 @@ external_update_pipe (yppasswd *yppw, ch
|
|
if (strspn(childresponse, "OK") < 2)
|
|
{
|
|
log_msg ("%s failed. Change request: %s", logbuf, parentmsg);
|
|
- log_msg ("Response was %s", childresponse);
|
|
+ log_msg ("Response was '%s'", childresponse);
|
|
free (parentmsg);
|
|
return res;
|
|
}
|