Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/histolog.c @ 378:2e6c7b1440d1
Improve debugging/logging
* Tell the user when the tracelog file can't be open
* Only include logprint.h when screen.h is not needed
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 26 Jul 2005 18:33:22 +0100 |
parents | bd5638c21834 |
children | 4617d0f029ea |
comparison
equal
deleted
inserted
replaced
377:00809e3e327e | 378:2e6c7b1440d1 |
---|---|
28 #include <fcntl.h> | 28 #include <fcntl.h> |
29 | 29 |
30 #include "histolog.h" | 30 #include "histolog.h" |
31 #include "hbuf.h" | 31 #include "hbuf.h" |
32 #include "jabglue.h" | 32 #include "jabglue.h" |
33 #include "screen.h" | |
34 #include "utils.h" | 33 #include "utils.h" |
34 #include "logprint.h" | |
35 | 35 |
36 static guint UseFileLogging; | 36 static guint UseFileLogging; |
37 static guint FileLoadLogs; | 37 static guint FileLoadLogs; |
38 static char *RootDir; | 38 static char *RootDir; |
39 | 39 |