aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/http.c b/lib/http.c
index f498be23b..1e9693f8a 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -1279,14 +1279,13 @@ CURLcode Curl_http(struct connectdata *conn)
case HTTPREQ_PUT:
request = (char *)"PUT";
break;
+ default: /* this should never happen */
case HTTPREQ_GET:
request = (char *)"GET";
break;
case HTTPREQ_HEAD:
request = (char *)"HEAD";
break;
- default: /* this should never happen */
- break;
}
}
}