- Timestamp:
- 2009-10-12T22:23:49Z (15 years ago)
- Branches:
- master
- Children:
- 4524f66
- Parents:
- dd0d57b1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.c
rdd0d57b1 re248c7f 102 102 { 103 103 GList *gl; 104 for (gl = protocols; gl; gl = gl->next) 104 105 for( gl = protocols; gl; gl = gl->next ) 105 106 { 106 107 struct prpl *proto = gl->data; 107 if(!g_strcasecmp(proto->name, name)) 108 109 if( g_strcasecmp( proto->name, name ) == 0 ) 108 110 return proto; 111 112 #ifdef WITH_PURPLE 113 /* I know, hardcoding is evil, but that doesn't make it 114 impossible. :-) */ 115 if( g_strncasecmp( proto->name, "prpl-", 5 ) == 0 && 116 g_strcasecmp( proto->name + 5, name ) == 0 ) 117 return proto; 118 #endif 109 119 } 120 110 121 return NULL; 111 122 }
Note: See TracChangeset
for help on using the changeset viewer.