summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorGravatar nadiramra2010-05-21 02:59:02 +0000
committerGravatar nadiramra2010-05-21 02:59:02 +0000
commita0bca08c822c80039b3f3d543b09d41c45610607 (patch)
tree1949cf5162f1a0d5fb6986ff7a09a7527dbc6199 /src/core
parentd18e9efa5b1697591057ba80f0877f3ad69ec184 (diff)
downloadaxis2c-a0bca08c822c80039b3f3d543b09d41c45610607.tar.gz
axis2c-a0bca08c822c80039b3f3d543b09d41c45610607.tar.bz2
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
Diffstat (limited to 'src/core')
-rw-r--r--src/core/transport/tcp/receiver/simple_tcp_svr_conn.c2
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;
}