21 lines
586 B
Diff
21 lines
586 B
Diff
|
Index: src/lib/report-lib.c
|
||
|
===================================================================
|
||
|
--- src/lib/report-lib.c.orig 2010-09-08 13:35:23.166173284 +0200
|
||
|
+++ src/lib/report-lib.c 2010-09-08 13:36:23.207409061 +0200
|
||
|
@@ -26,6 +26,7 @@
|
||
|
|
||
|
void gpm_report(int line, char *file, int stat, char *text, ... )
|
||
|
{
|
||
|
+#ifndef QUIET_LIBGPM
|
||
|
char *string = NULL;
|
||
|
int log_level;
|
||
|
va_list ap;
|
||
|
@@ -57,5 +58,7 @@ void gpm_report(int line, char *file, in
|
||
|
|
||
|
va_end(ap);
|
||
|
|
||
|
+#endif /* QUIET_LIBGPM */
|
||
|
+
|
||
|
if(stat == GPM_STAT_OOPS) exit(1); /* may a lib function call exit ???? */
|
||
|
}
|