[dovecot-cvs] dovecot/src/lib macros.h,1.15,1.16

cras at dovecot.org cras at dovecot.org
Sat Oct 16 17:59:36 EEST 2004


Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv6470/lib

Modified Files:
	macros.h 
Log Message:
i_unreached(): show also file and line number in error message



Index: macros.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/macros.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- macros.h	27 Apr 2004 20:25:53 -0000	1.15
+++ macros.h	16 Oct 2004 14:59:32 -0000	1.16
@@ -153,6 +153,6 @@
 #endif
 
 #define i_unreached() \
-	i_panic("unreached")
+	i_panic("file %s: line %d: unreached", __FILE__, __LINE__)
 
 #endif



More information about the dovecot-cvs mailing list