#12 strncasecmp not work to check DCC

open
nobody
None
5
2013-02-09
2010-04-17
Gabriel
No

This code: "if ( !strncasecmp(ctcp_buf, "DCC ", msglen) )" not work for me, because it never enter in the if. I'm on windows 7. I have fix this with: "if ( strncmp (ctcp_buf, "DCC ", 4 ) == 0 )".

Discussion


Log in to post a comment.