diff options
-rw-r--r-- | src/core/transport/tcp/receiver/simple_tcp_svr_conn.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |