From 608b14e7fef529151e1a23963189f5a0ea22fade Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Mon, 21 Mar 2011 14:02:27 +0000 Subject: Reset priv->base_offset in soup_message_body_truncate() --- libsoup/soup-message-body.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libsoup/soup-message-body.c b/libsoup/soup-message-body.c index 11770308..689acf84 100644 --- a/libsoup/soup-message-body.c +++ b/libsoup/soup-message-body.c @@ -527,6 +527,7 @@ soup_message_body_truncate (SoupMessageBody *body) soup_buffer_free (iter->data); g_slist_free (priv->chunks); priv->chunks = priv->last = NULL; + priv->base_offset = 0; if (priv->flattened) { soup_buffer_free (priv->flattened); -- cgit v1.2.1