Don't return a const char *
authorFederico Mena Quintero <federico@novell.com>
Thu, 13 May 2010 18:14:52 +0000 (13:14 -0500)
committerFederico Mena Quintero <federico@novell.com>
Wed, 2 Jun 2010 22:12:23 +0000 (17:12 -0500)
Signed-off-by: Federico Mena Quintero <federico@novell.com>
camel/camel-session.c
camel/camel-session.h

index df3e98a..d76ce31 100644 (file)
@@ -1135,7 +1135,7 @@ camel_session_set_socks_proxy (CamelSession *session, const gchar *socks_host, i
  * put #NULL in @hosts_ret if there is no proxy configured.
  */
 void
-camel_session_get_socks_proxy (CamelSession *session, const char **host_ret, int *port_ret)
+camel_session_get_socks_proxy (CamelSession *session, gchar **host_ret, gint *port_ret)
 {
        g_return_if_fail (CAMEL_IS_SESSION (session));
        g_return_if_fail (host_ret != NULL);
index 8ad79e8..c31502c 100644 (file)
@@ -160,8 +160,8 @@ void            camel_session_set_socks_proxy   (CamelSession *session,
                                                 const gchar *socks_host,
                                                 gint socks_port);
 void            camel_session_get_socks_proxy   (CamelSession *session,
-                                                const char **host_ret,
-                                                int *port_ret);
+                                                gchar **host_ret,
+                                                gint *port_ret);
 
 CamelService * camel_session_get_service       (CamelSession *session,
                                                 const gchar *url_string,