[libsoup/cache] soup-headers: value can be NULL, don't fail if it is



commit d6c7e1e950e4a1bfab71fecfb9e1d6b8deca5a5d
Author: Xan Lopez <xan gnome org>
Date:   Fri Jul 31 23:47:59 2009 +0300

    soup-headers: value can be NULL, don't fail if it is

 libsoup/soup-headers.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/libsoup/soup-headers.c b/libsoup/soup-headers.c
index 9818953..b7f1d80 100644
--- a/libsoup/soup-headers.c
+++ b/libsoup/soup-headers.c
@@ -819,7 +819,6 @@ soup_header_g_string_append_param (GString *string, const char *name,
 	const char *v;
 
 	g_return_if_fail (name);
-	g_return_if_fail (value);
 
 	g_string_append (string, name);
 	if (!value)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]