libpurple/protocols/zephyr/ZVariables.c

changeset 18552
810a338ef085
parent 18273
e61c53184c52
child 26726
b81bcec8f359
equal deleted inserted replaced
18551:b66ed9a5408e 18552:810a338ef085
184 184
185 #ifndef WIN32 185 #ifndef WIN32
186 #define max(a,b) ((a > b) ? (a) : (b)) 186 #define max(a,b) ((a > b) ? (a) : (b))
187 #endif 187 #endif
188 188
189 if (strncasecmp(bfr, var, max(strlen(var),cp - bfr))) 189 if (g_strncasecmp(bfr, var, max(strlen(var), cp - bfr)))
190 return(0); /* var is not the var in 190 return(0); /* var is not the var in
191 bfr ==> no match */ 191 bfr ==> no match */
192 192
193 cp = strchr(bfr, '='); 193 cp = strchr(bfr, '=');
194 if (!cp) 194 if (!cp)

mercurial