added forgotten ypserv-2.26-errmsg.patch to git
This commit is contained in:
parent
ed9b52c869
commit
46d6e0c63b
21
ypserv-2.26-errmsg.patch
Normal file
21
ypserv-2.26-errmsg.patch
Normal file
@ -0,0 +1,21 @@
|
||||
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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user