You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by da...@apache.org on 2006/02/09 06:24:08 UTC

svn commit: r376192 - /webservices/axis2/trunk/c/modules/util/log.c

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;;