[Asterisk-cvs] asterisk utils.c,1.59,1.60

russell at lists.digium.com russell at lists.digium.com
Tue Jul 19 11:24:39 CDT 2005


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv17242

Modified Files:
	utils.c 
Log Message:
restore warning about negative timestamps now that it is fixed


Index: utils.c
===================================================================
RCS file: /usr/cvsroot/asterisk/utils.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- utils.c	19 Jul 2005 14:08:19 -0000	1.59
+++ utils.c	19 Jul 2005 15:32:03 -0000	1.60
@@ -507,8 +507,7 @@
 		a.tv_sec += a.tv_usec % ONE_MILLION;
 		a.tv_usec %= ONE_MILLION;
 	} else if (a.tv_usec < 0) {
-		if (option_debug)
-			ast_log(LOG_DEBUG, "warning negative timestamp %ld.%ld\n",
+		ast_log(LOG_WARNING, "warning negative timestamp %ld.%ld\n",
 				a.tv_sec, a.tv_usec);
 		a.tv_usec = 0;
 	}




More information about the svn-commits mailing list