mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
CLEANUP: proto_http: Removing useless variable assignation
delta is set to 0 just before being assigned to a buffer. This patch is just removing this useless line, shorted is better.
This commit is contained in:
parent
0857d7aa8f
commit
b12ff9a201
@ -1961,7 +1961,6 @@ static int http_upgrade_v09_to_v10(struct http_txn *txn)
|
||||
return 0;
|
||||
|
||||
cur_end = msg->chn->buf->p + msg->sl.rq.l;
|
||||
delta = 0;
|
||||
|
||||
if (msg->sl.rq.u_l == 0) {
|
||||
/* HTTP/0.9 requests *must* have a request URI, per RFC 1945 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user