cpw.darkrain42.xmpp.disco: e7397459: Constify the disco_type_mappings struct

paul at darkrain42.org paul at darkrain42.org
Sat Apr 25 16:17:54 EDT 2009


-----------------------------------------------------------------
Revision: e73974597bbcc75504a88eac45d6893c182d058e
Ancestor: 9260183c6f6855dab27af46ebb256bc8fc71dcd1
Author: paul at darkrain42.org
Date: 2009-04-18T06:52:59
Branch: im.pidgin.cpw.darkrain42.xmpp.disco
URL: http://d.pidgin.im/viewmtn/revision/info/e73974597bbcc75504a88eac45d6893c182d058e

Modified files:
        libpurple/protocols/jabber/disco.c

ChangeLog: 

Constify the disco_type_mappings struct

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/disco.c	796bc9abd5c975b8c45595259211e3e848bdebe9
+++ libpurple/protocols/jabber/disco.c	89a0c25dea7f1b8fc09dc1ba82a7a51ef7b21994
@@ -635,7 +635,7 @@ jabber_disco_category_from_string(const 
 	return PURPLE_DISCO_SERVICE_TYPE_OTHER;
 }
 
-static struct {
+static const struct {
 	const char *from;
 	const char *to;
 } disco_type_mappings[] = {


More information about the Commits mailing list