[mICQ] Strange code ?
Peter Stuge
stuge-micq at cdy.org
Thu Apr 5 23:28:25 CEST 2007
On Thu, Apr 05, 2007 at 08:52:17PM +0200, Vladimír Marek wrote:
> 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;" ?
Yes. Good find.
//Peter
More information about the mICQ-List
mailing list