projects
/
ppp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3c0701
)
fix silly bug in pr_log
author
Paul Mackerras
<paulus@samba.org>
Mon, 12 Mar 2001 22:56:45 +0000
(22:56 +0000)
committer
Paul Mackerras
<paulus@samba.org>
Mon, 12 Mar 2001 22:56:45 +0000
(22:56 +0000)
pppd/utils.c
patch
|
blob
|
history
diff --git
a/pppd/utils.c
b/pppd/utils.c
index b176fbb4da6c6618edbbc730ba3291698da5289a..e873ed65244f6fd2a55f80f2166edb0189dd604c 100644
(file)
--- a/
pppd/utils.c
+++ b/
pppd/utils.c
@@
-17,7
+17,7
@@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#define RCSID "$Id: utils.c,v 1.1
1 2001/03/08 05:11:16
paulus Exp $"
+#define RCSID "$Id: utils.c,v 1.1
2 2001/03/12 22:56:45
paulus Exp $"
#include <stdio.h>
#include <ctype.h>
@@
-552,6
+552,7
@@
pr_log __V((void *arg, char *fmt, ...))
*eol = 0;
log_write(llevel, p);
p = eol + 1;
+ eol = strchr(p, '\n');
}
/* assumes sizeof(buf) <= sizeof(line) */