axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r946855 - /axis/axis2/c/core/trunk/src/core/transport/tcp/receiver/simple_tcp_svr_conn.c
Date Fri, 21 May 2010 02:59:02 GMT
Author: nadiramra
Date: Fri May 21 02:59:02 2010
New Revision: 946855

URL: http://svn.apache.org/viewvc?rev=946855&view=rev
Log:
Should be checking first byte...not buffer pointer. 

Modified:
    axis/axis2/c/core/trunk/src/core/transport/tcp/receiver/simple_tcp_svr_conn.c

Modified: axis/axis2/c/core/trunk/src/core/transport/tcp/receiver/simple_tcp_svr_conn.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/transport/tcp/receiver/simple_tcp_svr_conn.c?rev=946855&r1=946854&r2=946855&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/transport/tcp/receiver/simple_tcp_svr_conn.c (original)
+++ axis/axis2/c/core/trunk/src/core/transport/tcp/receiver/simple_tcp_svr_conn.c Fri May
21 02:59:02 2010
@@ -139,7 +139,7 @@ axis2_simple_tcp_svr_conn_read_request(
             }
         }
     }
-    if(str_line > 0)
+    if(str_line[0] > 0)
     {
         svr_conn->buffer = str_line;
     }



Mime
View raw message