[mICQ] Strange code ?

Vladimír Marek vlmarek at volny.cz
Thu Apr 5 20:52:17 CEST 2007


Hi,

I might be horribly wrong, but this piece of src/util_parse.c looks
suspicious:

...
    if (serv->type == TYPE_XMPP_SERVER &&
        (!strncasecmp (p, "JABBER:", 7) || !strncasecmp (p, "XMPP:", 5)))
    {
        p += (*p == 'J') ? 7 : '5';
...

Should not be there "? 7 : 5;" ?

Long live micq

-- 
	Vlad


More information about the mICQ-List mailing list