diff options
Diffstat (limited to 'src/examples/mhd2spdy_structures.c')
-rw-r--r-- | src/examples/mhd2spdy_structures.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/examples/mhd2spdy_structures.c b/src/examples/mhd2spdy_structures.c index 8e7852c2..ff434546 100644 --- a/src/examples/mhd2spdy_structures.c +++ b/src/examples/mhd2spdy_structures.c | |||
@@ -118,6 +118,8 @@ void | |||
118 | free_proxy(struct Proxy *proxy) | 118 | free_proxy(struct Proxy *proxy) |
119 | { | 119 | { |
120 | PRINT_INFO2("free proxy called for '%s'", proxy->url); | 120 | PRINT_INFO2("free proxy called for '%s'", proxy->url); |
121 | if(NULL != proxy->http_body && proxy->http_body_size > 0) | ||
122 | UPDATE_STAT(glob_stat.spdy_bytes_received_and_dropped, proxy->http_body_size); | ||
121 | free(proxy->http_body); | 123 | free(proxy->http_body); |
122 | free_uri(proxy->uri); | 124 | free_uri(proxy->uri); |
123 | free(proxy->url); | 125 | free(proxy->url); |