Strlen O_O
#1

I don't know why....

I have this:

Код:
if (strcmp(cmd, "/changenick", true)==0)
{
	tmp = strtok(cmdtext, idx);
	printf("length: %d",strlen(tmp));
	return 1;
}
If i insert this:



My log say:

Код:
[20:19:32] length: 19
should not be 21?
Reply


Messages In This Thread
Strlen O_O - by SoeH - 18.10.2009, 18:43
Re: Strlen O_O - by SoeH - 19.10.2009, 10:08

Forum Jump:


Users browsing this thread: 1 Guest(s)