removal of FAMOpen failed, FAMerrno message



Can I commit this patch ? Or is this message really useful ? I got bored
of seeing all these FAMOpen failed messages on my console, and I'm
probably not the only one :)

Christophe


? fam.diff
Index: file-method.c
===================================================================
RCS file: /cvs/gnome/gnome-vfs/modules/file-method.c,v
retrieving revision 1.111
diff -u -d -b -u -r1.111 file-method.c
--- file-method.c	5 Dec 2002 09:42:29 -0000	1.111
+++ file-method.c	9 Feb 2003 21:05:53 -0000
@@ -2156,7 +2156,9 @@
 	if (fam_connection == NULL) {
 		fam_connection = g_malloc0(sizeof(FAMConnection));
 		if (FAMOpen2(fam_connection, "test-monitor") != 0) {
+#ifdef DEBUG_FAM
 			g_print ("FAMOpen failed, FAMErrno=%d\n", FAMErrno);
+#endif
 			g_free(fam_connection);
 			fam_connection = NULL;
 			G_UNLOCK (fam_connection);

Attachment: signature.asc
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]