Mercurial > hg
comparison mcabber/src/utils.c @ 1640:bf2258e29834
Remove debug LogPrint() call
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 25 Oct 2009 23:32:23 +0100 |
parents | d9913c1b35e7 |
children | c3c7d6d0348f |
comparison
equal
deleted
inserted
replaced
1639:d9913c1b35e7 | 1640:bf2258e29834 |
---|---|
444 str = fjid; | 444 str = fjid; |
445 while (*idnpp) { | 445 while (*idnpp) { |
446 if (*idnpp++ != *str++) | 446 if (*idnpp++ != *str++) |
447 return 1; | 447 return 1; |
448 } | 448 } |
449 scr_LogPrint(LPRINT_LOGNORM, "Stringprep'd node: [%s]", idnprep); // XXX | |
450 /* the username looks okay */ | 449 /* the username looks okay */ |
451 #else | 450 #else |
452 /* check for low and invalid ascii characters in the username */ | 451 /* check for low and invalid ascii characters in the username */ |
453 for (str = fjid; *str != JID_DOMAIN_SEPARATOR; str++) { | 452 for (str = fjid; *str != JID_DOMAIN_SEPARATOR; str++) { |
454 if (*str <= ' ' || *str == ':' || *str == JID_DOMAIN_SEPARATOR || | 453 if (*str <= ' ' || *str == ':' || *str == JID_DOMAIN_SEPARATOR || |