diff options
author | Eugene Tarassov | 2019-12-11 17:24:54 +0000 |
---|---|---|
committer | Eugene Tarassov | 2019-12-11 17:24:54 +0000 |
commit | 3d38f2bbb8496329b69d3344fcf7e399d1207b59 (patch) | |
tree | e60a621e1a858ae43267a5d848b3905b5558d552 /agent/tcf | |
parent | 18e58df09276fe569df1e5357ddd1dc8df6b4b6d (diff) | |
download | org.eclipse.tcf.agent-3d38f2bbb8496329b69d3344fcf7e399d1207b59.tar.gz org.eclipse.tcf.agent-3d38f2bbb8496329b69d3344fcf7e399d1207b59.tar.xz org.eclipse.tcf.agent-3d38f2bbb8496329b69d3344fcf7e399d1207b59.zip |
TCF Agent: Fixed regression from previous commit in read_http_request()
Diffstat (limited to 'agent/tcf')
-rw-r--r-- | agent/tcf/http/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/tcf/http/http.c b/agent/tcf/http/http.c index 4889a54c..37dfbc8c 100644 --- a/agent/tcf/http/http.c +++ b/agent/tcf/http/http.c @@ -329,12 +329,12 @@ static void read_http_request(HttpConnection * con) { unsigned l = j; char * s = buf + j; while (j < i && buf[j] > ' ') j++; - while (j < i && buf[j] <= ' ') j++; switch (k++) { case 0: con->http_method = loc_strndup(s, j - l); break; case 1: con->http_uri = loc_strndup(s, j - l); break; case 2: con->http_ver = loc_strndup(s, j - l); break; } + while (j < i && buf[j] <= ' ') j++; } } else { |