r5300 - branches/2.1/varnish-cache/bin/varnishtest
tfheen at varnish-cache.org
tfheen at varnish-cache.org
Tue Sep 28 11:09:40 CEST 2010
Author: tfheen
Date: 2010-09-28 11:09:39 +0200 (Tue, 28 Sep 2010)
New Revision: 5300
Modified:
branches/2.1/varnish-cache/bin/varnishtest/vtc_http.c
Log:
Merge bits of r4908: Flexelinting
Modified: branches/2.1/varnish-cache/bin/varnishtest/vtc_http.c
===================================================================
--- branches/2.1/varnish-cache/bin/varnishtest/vtc_http.c 2010-09-28 08:35:53 UTC (rev 5299)
+++ branches/2.1/varnish-cache/bin/varnishtest/vtc_http.c 2010-09-28 09:09:39 UTC (rev 5300)
@@ -115,8 +115,8 @@
k = '!';
l = k;
} else {
- b[j] = l++;
- if (l == '~')
+ b[j] = (char)l;
+ if (++l == '~')
l = '!';
}
}
@@ -505,7 +505,7 @@
const char *proto = "HTTP/1.1";
const char *status = "200";
const char *msg = "Ok";
- int bodylen;
+ int bodylen = 0;
char *b, *c;
char *body = NULL;
More information about the varnish-commit
mailing list