[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] make log use a larger buffer, for easier debugging
Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/common
Modified Files:
log.c
Log Message:
make log use a larger buffer, for easier debugging
Index: log.c
===================================================================
RCS file: /home/or/cvsroot/src/common/log.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- log.c 29 Sep 2003 23:14:45 -0000 1.16
+++ log.c 30 Sep 2003 19:53:25 -0000 1.17
@@ -70,7 +70,7 @@
static void
logv(int severity, const char *funcname, const char *format, va_list ap)
{
- char buf[1024];
+ char buf[10024];
int formatted = 0;
logfile_t *lf;
@@ -89,7 +89,7 @@
continue;
if (!formatted) {
- format_msg(buf, 1024, severity, funcname, format, ap);
+ format_msg(buf, 10024, severity, funcname, format, ap);
formatted = 1;
}
fputs(buf, lf->file);