comparison libpurple/protocols/jabber/disco.c @ 26698:464dbfad4474

Constify the disco_type_mappings struct
author Paul Aurich <paul@darkrain42.org>
date Sat, 18 Apr 2009 06:52:59 +0000
parents 9fb8d8d9783a
children 413006df9828
comparison
equal deleted inserted replaced
26697:5149ecc8f456 26698:464dbfad4474
633 return PURPLE_DISCO_SERVICE_TYPE_CHAT; 633 return PURPLE_DISCO_SERVICE_TYPE_CHAT;
634 634
635 return PURPLE_DISCO_SERVICE_TYPE_OTHER; 635 return PURPLE_DISCO_SERVICE_TYPE_OTHER;
636 } 636 }
637 637
638 static struct { 638 static const struct {
639 const char *from; 639 const char *from;
640 const char *to; 640 const char *to;
641 } disco_type_mappings[] = { 641 } disco_type_mappings[] = {
642 { "gadu-gadu", "gg" }, 642 { "gadu-gadu", "gg" },
643 { "sametime", "meanwhile" }, 643 { "sametime", "meanwhile" },