[libsoup] Reset priv->base_offset in soup_message_body_truncate()
- From: David Woodhouse <dwmw2 src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] Reset priv->base_offset in soup_message_body_truncate()
- Date: Mon, 21 Mar 2011 14:06:01 +0000 (UTC)
commit 608b14e7fef529151e1a23963189f5a0ea22fade
Author: David Woodhouse <David Woodhouse intel com>
Date: Mon Mar 21 14:02:27 2011 +0000
Reset priv->base_offset in soup_message_body_truncate()
libsoup/soup-message-body.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libsoup/soup-message-body.c b/libsoup/soup-message-body.c
index 1177030..689acf8 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]