From a0bca08c822c80039b3f3d543b09d41c45610607 Mon Sep 17 00:00:00 2001
From: nadiramra
Date: Fri, 21 May 2010 02:59:02 +0000
Subject: Should be checking first byte...not buffer pointer.

git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@946855 13f79535-47bb-0310-9956-ffa450edef68
---
 src/core/transport/tcp/receiver/simple_tcp_svr_conn.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/core/transport/tcp/receiver')

diff --git a/src/core/transport/tcp/receiver/simple_tcp_svr_conn.c b/src/core/transport/tcp/receiver/simple_tcp_svr_conn.c
index a5fd9a9..0a43ec6 100644
--- a/src/core/transport/tcp/receiver/simple_tcp_svr_conn.c
+++ b/src/core/transport/tcp/receiver/simple_tcp_svr_conn.c
@@ -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;
     }
-- 
cgit v1.1-32-gdbae