19 lines
376 B
Diff
19 lines
376 B
Diff
|
--- src/lib/report-lib.c
|
||
|
+++ src/lib/report-lib.c
|
||
|
@@ -26,6 +26,7 @@
|
||
|
|
||
|
void gpm_report(int line, char *file, int stat, char *text, ... )
|
||
|
{
|
||
|
+#ifndef QUIET_LIBGPM
|
||
|
char *string = NULL;
|
||
|
va_list ap;
|
||
|
va_start(ap,text);
|
||
|
@@ -43,5 +44,7 @@
|
||
|
|
||
|
va_end(ap);
|
||
|
|
||
|
+#endif /* QUIET_LIBGPM */
|
||
|
+
|
||
|
if(stat == GPM_STAT_OOPS) exit(1); /* may a lib function call exit ???? */
|
||
|
}
|