9d84a683058c0f311e8b53ef8c13c60da673f85c
diff --git a/libsoup/soup-cookie-jar-text.c b/libsoup/soup-cookie-jar-text.c
index 1ea1a3e..1fc7443 100644
--- a/libsoup/soup-cookie-jar-text.c
+++ b/libsoup/soup-cookie-jar-text.c
@@ -222,7 +222,7 @@ parse_line (SoupCookieJar *jar, char *line, time_t now)
 	if (http_only)
 		soup_cookie_set_http_only (cookie, TRUE);
 
-	soup_cookie_jar_set_cookie (jar, cookie);
+	soup_cookie_jar_set_cookie_internal (jar, cookie);
 }
 
 static void
diff --git a/libsoup/soup-cookie-jar.c b/libsoup/soup-cookie-jar.c
index 9b717c5..42b8697 100644
--- a/libsoup/soup-cookie-jar.c
+++ b/libsoup/soup-cookie-jar.c
@@ -208,8 +208,8 @@ get_cookies_for_domain (SoupCookieJar *jar, const char *domain)
 	return cookies;
 }
 
-static void
-set_cookie (SoupCookieJar *jar, SoupCookie *cookie)
+void
+soup_cookie_jar_set_cookie_internal (SoupCookieJar *jar, SoupCookie *cookie)
 {
 	SoupCookieJarPrivate *priv = SOUP_COOKIE_JAR_GET_PRIVATE (jar);
 	GSList *old_cookies, *oc, *prev = NULL;
@@ -264,8 +264,8 @@ soup_cookie_jar_set_cookie (SoupCookieJar *jar, SoupURI *uri,
 
 	soup_cookie = soup_cookie_parse (cookie, uri);
 	if (soup_cookie) {
-		set_cookie (jar, soup_cookie);
-		/* set_cookie will steal or free soup_cookie */
+		/* will steal or free soup_cookie */
+		soup_cookie_jar_set_cookie_internal (jar, soup_cookie);
 	}
 }
 
@@ -277,7 +277,7 @@ process_set_cookie_header (SoupMessage *msg, gpointer user_data)
 
 	new_cookies = soup_cookies_from_response (msg);
 	for (nc = new_cookies; nc; nc = nc->next)
-		set_cookie (jar, nc->data);
+		soup_cookie_jar_set_cookie_internal (jar, nc->data);
 	g_slist_free (new_cookies);
 }
 
diff --git a/libsoup/soup-cookie-jar.h b/libsoup/soup-cookie-jar.h
index 03e99f7..f58860f 100644
--- a/libsoup/soup-cookie-jar.h
+++ b/libsoup/soup-cookie-jar.h
@@ -32,17 +32,16 @@ typedef struct {
 	void (*_libsoup_reserved4) (void);
 } SoupCookieJarClass;
 
-GType          soup_cookie_jar_get_type    (void);
-
-SoupCookieJar *soup_cookie_jar_new         (void);
-
-void           soup_cookie_jar_save        (SoupCookieJar *jar);
-
-char          *soup_cookie_jar_get_cookies (SoupCookieJar *jar,
-					    SoupURI       *uri,
-					    gboolean       for_http);
-void           soup_cookie_jar_set_cookie  (SoupCookieJar *jar,
-					    SoupURI       *uri,
-					    const char    *cookie);
+GType          soup_cookie_jar_get_type            (void);
+SoupCookieJar *soup_cookie_jar_new                 (void);
+void           soup_cookie_jar_save                (SoupCookieJar *jar);
+char          *soup_cookie_jar_get_cookies         (SoupCookieJar *jar,
+						    SoupURI       *uri,
+						    gboolean       for_http);
+void           soup_cookie_jar_set_cookie          (SoupCookieJar *jar,
+						    SoupURI       *uri,
+						    const char    *cookie);
+void           soup_cookie_jar_set_cookie_internal (SoupCookieJar *jar,
+						    SoupCookie    *cookie);
 
 #endif /* SOUP_COOKIE_JAR_H */
