libsoup r1052 - in trunk: . libsoup
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: libsoup r1052 - in trunk: . libsoup
- Date: Sun, 27 Jan 2008 15:15:37 +0000 (GMT)
Author: sragavan
Date: Sun Jan 27 15:15:36 2008
New Revision: 1052
URL: http://svn.gnome.org/viewvc/libsoup?rev=1052&view=rev
Log:
2008-01-25 Srinivasa Ragavan <sragavan novell com>
** Fix for bug #511980
* libsoup/soup-message-headers.c: (soup_message_headers_clear):
Instead of destroying the hashtable, just remove the contents of the
table.
Modified:
trunk/ChangeLog
trunk/libsoup/soup-message-headers.c
Modified: trunk/libsoup/soup-message-headers.c
==============================================================================
--- trunk/libsoup/soup-message-headers.c (original)
+++ trunk/libsoup/soup-message-headers.c Sun Jan 27 15:15:36 2008
@@ -92,7 +92,7 @@
g_array_set_size (hdrs->array, 0);
if (hdrs->concat)
- g_hash_table_destroy (hdrs->concat);
+ g_hash_table_remove_all (hdrs->concat);
hdrs->encoding = -1;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]