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 na...@apache.org on 2006/02/14 12:25:32 UTC

svn commit: r377698 - /webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c

Author: nandika
Date: Tue Feb 14 03:25:28 2006
New Revision: 377698

URL: http://svn.apache.org/viewcvs?rev=377698&view=rev
Log:
floating point problem in win22 is resolved 

Modified:
    webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c

Modified: webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c?rev=377698&r1=377697&r2=377698&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c Tue Feb 14 03:25:28 2006
@@ -320,15 +320,25 @@
 		secs--;
 	}
 	secs += millisecs/1000.0;
+	
 	if(status == AXIS2_SUCCESS)
 	{
-		AXIS2_LOG_INFO(thread_env->log, "Request served in %.3f seconds", secs);
+#if defined(WIN32)
+		AXIS2_LOG_INFO(thread_env->log, "Request served successfully");
+#else 		
+       	AXIS2_LOG_INFO(thread_env->log, "Request served in %.3f seconds", secs);
+#endif       	
 	}
 	else
 	{
+#if defined(WIN32)	
 		AXIS2_LOG_WARNING(thread_env->log, AXIS2_LOG_SI, 
+						"Error occured in processing request ");
+#else
+	    AXIS2_LOG_WARNING(thread_env->log, AXIS2_LOG_SI, 
 						"Error occured in processing request (%.3f seconds)", 
 						secs);
+#endif											
 	}
 #ifdef AXIS2_SVR_MULTI_THREADED
 	AXIS2_THREAD_POOL_EXIT_THREAD((*env)->thread_pool, thd);