axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r376192 - /webservices/axis2/trunk/c/modules/util/log.c
Date Thu, 09 Feb 2006 05:24:08 GMT
Author: damitha
Date: Wed Feb  8 21:24:04 2006
New Revision: 376192

URL: http://svn.apache.org/viewcvs?rev=376192&view=rev
Log:
moved variable declaration up

Modified:
    webservices/axis2/trunk/c/modules/util/log.c

Modified: webservices/axis2/trunk/c/modules/util/log.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/log.c?rev=376192&r1=376191&r2=376192&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/log.c (original)
+++ webservices/axis2/trunk/c/modules/util/log.c Wed Feb  8 21:24:04 2006
@@ -325,8 +325,9 @@
 axis2_log_impl_get_time_str(void)
 {
     time_t tp;
+	char *time_str;
     tp = time(&tp);
-    char *time_str = ctime(&tp);
+    time_str = ctime(&tp);
     if(NULL == time_str)
     {
         return NULL;;



Mime
View raw message