projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
fbebc5b
)
Print newline when writing to stderr
author
Ivo Timmermans
<ivo@lychnis.net>
Sat, 13 Apr 2002 18:01:58 +0000
(18:01 +0000)
committer
Ivo Timmermans
<ivo@lychnis.net>
Sat, 13 Apr 2002 18:01:58 +0000
(18:01 +0000)
src/logging.c
patch
|
blob
|
history
diff --git
a/src/logging.c
b/src/logging.c
index
59d74d9
..
26f8ddd
100644
(file)
--- a/
src/logging.c
+++ b/
src/logging.c
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: logging.c,v 1.
4 2002/04/13 11:07:12
zarq Exp $
+ $Id: logging.c,v 1.
5 2002/04/13 18:01:58
zarq Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-74,7
+74,10
@@
void log_del_hook(log_function_t *fn)
void log_default(int level, int priority, char *fmt, va_list ap)
{
if(debug_lvl >= level)
void log_default(int level, int priority, char *fmt, va_list ap)
{
if(debug_lvl >= level)
- vfprintf(stderr, fmt, ap);
+ {
+ vfprintf(stderr, fmt, ap);
+ fprintf(stderr, "\n");
+ }
}
void log_syslog(int level, int priority, char *fmt, va_list ap)
}
void log_syslog(int level, int priority, char *fmt, va_list ap)