[asterisk-addons-commits] qwell: trunk r592 - /trunk/channels/ooh323c/src/ootrace.c

SVN commits to the Asterisk addons project asterisk-addons-commits at lists.digium.com
Mon May 5 12:06:41 CDT 2008


Author: qwell
Date: Mon May  5 12:06:41 2008
New Revision: 592

URL: http://svn.digium.com/view/asterisk-addons?view=rev&rev=592
Log:
Uses unambiguous non-US-centric date format.  Also (and mainly), %D uses %y, which is only 2 digits.  gcc warns about using this.

Modified:
    trunk/channels/ooh323c/src/ootrace.c

Modified: trunk/channels/ooh323c/src/ootrace.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/channels/ooh323c/src/ootrace.c?view=diff&rev=592&r1=591&r2=592
==============================================================================
--- trunk/channels/ooh323c/src/ootrace.c (original)
+++ trunk/channels/ooh323c/src/ootrace.c Mon May  5 12:06:41 2008
@@ -100,7 +100,7 @@
    if(printDate)
    {
       printDate = 0;
-      strftime(dateString, 10, "%D", ptime);
+      strftime(dateString, 10, "%F", ptime);
       fprintf(gH323ep.fptraceFile, "---------Date %s---------\n", 
               dateString);
    }




More information about the asterisk-addons-commits mailing list