changeset 30664:8c543e70db7f

These string should be const.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 09 Dec 2009 21:34:48 +0000
parents 3140627b93e7
children 60688353c010
files libpurple/protocols/msn/user.c libpurple/protocols/msn/user.h
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/user.c	Wed Dec 09 21:32:33 2009 +0000
+++ b/libpurple/protocols/msn/user.c	Wed Dec 09 21:34:48 2009 +0000
@@ -234,7 +234,7 @@
 }
 
 void
-msn_user_set_endpoint_data(MsnUser *user, char *endpoint, MsnUserEndpoint *data)
+msn_user_set_endpoint_data(MsnUser *user, const char *endpoint, MsnUserEndpoint *data)
 {
 	MsnUserEndpoint *new;
 	g_return_if_fail(user != NULL);
@@ -531,7 +531,7 @@
 }
 
 MsnUserEndpoint *
-msn_user_get_endpoint_data(MsnUser *user, char *endpoint)
+msn_user_get_endpoint_data(MsnUser *user, const char *endpoint)
 {
 	g_return_val_if_fail(user != NULL, NULL);
 
--- a/libpurple/protocols/msn/user.h	Wed Dec 09 21:32:33 2009 +0000
+++ b/libpurple/protocols/msn/user.h	Wed Dec 09 21:34:48 2009 +0000
@@ -272,7 +272,7 @@
  * @param data     The endpoint data.
  */
 void
-msn_user_set_endpoint_data(MsnUser *user, char *endpoint, MsnUserEndpoint *data);
+msn_user_set_endpoint_data(MsnUser *user, const char *endpoint, MsnUserEndpoint *data);
 
 /**
  * Sets the client id for a user.
@@ -385,7 +385,7 @@
  * @return The user's endpoint data.
  */
 MsnUserEndpoint *
-msn_user_get_endpoint_data(MsnUser *user, char *endpoint);
+msn_user_get_endpoint_data(MsnUser *user, const char *endpoint);
 
 /**
  * Returns the client id for a user.