Commit 4025cc9a authored by Cecilie Fritzvold's avatar Cecilie Fritzvold

Use strcmp instead of strncmp


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1624 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 939128be
......@@ -522,7 +522,7 @@ replay_thread(void *arg)
* When the request is sent, call the function for receiving
* the answer.
*/
if (!(strncmp(df_m, "GET", 3) && strncmp(df_m, "HEAD", 4))) {
if (!(strcmp(df_m, "GET") && strcmp(df_m, "HEAD"))) {
if (reopen)
sock = VSS_connect(addr_info);
reopen = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment