cpw.qulogic.msnp16: ce4fd4d1: These string should be const.

qulogic at pidgin.im qulogic at pidgin.im
Mon Dec 14 02:28:11 EST 2009


-----------------------------------------------------------------
Revision: ce4fd4d13bc6f8677ee5118bd68b3c89d06a7ffa
Ancestor: c49e294a6748adc8bdaeeebf4b42b0548bb03eac
Author: qulogic at pidgin.im
Date: 2009-12-09T21:34:48
Branch: im.pidgin.cpw.qulogic.msnp16
URL: http://d.pidgin.im/viewmtn/revision/info/ce4fd4d13bc6f8677ee5118bd68b3c89d06a7ffa

Modified files:
        libpurple/protocols/msn/user.c
        libpurple/protocols/msn/user.h

ChangeLog: 

These string should be const.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/user.c	302ca71b4da9b0d764eb4aa6f5b1716052855f40
+++ libpurple/protocols/msn/user.c	9b780470975e82b5b07d80dd078faee175c0b13e
@@ -234,7 +234,7 @@ void
 }
 
 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 *
 }
 
 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);
 
============================================================
--- libpurple/protocols/msn/user.h	7990a10be2c03772542c1863b19b168cca999a77
+++ libpurple/protocols/msn/user.h	a5d58257345a21e1d81fcd02d5c84b2a2017f3b6
@@ -272,7 +272,7 @@ void
  * @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 @@ MsnUserEndpoint *
  * @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.


More information about the Commits mailing list