# HG changeset patch # User Elliott Sales de Andrade # Date 1260394488 0 # Node ID 8c543e70db7f4218518bc66d1f041fbdf1e2d543 # Parent 3140627b93e7acd1eddf155a137559d7eecbad8b These string should be const. diff -r 3140627b93e7 -r 8c543e70db7f libpurple/protocols/msn/user.c --- 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); diff -r 3140627b93e7 -r 8c543e70db7f libpurple/protocols/msn/user.h --- 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.