diff -urN source/client.orig/client.c source/client/client.c --- source/client.orig/client.c 2006-06-23 22:16:53.000000000 +0900 +++ source/client/client.c 2006-07-10 00:59:21.000000000 +0900 @@ -3064,7 +3064,7 @@ return NULL; for (i = 0; commands[i].name; i++) - if ((strncmp(commands[i].name, text, sp - buf) == 0) && (commands[i].name[sp - buf] == 0)) + if ((strncmp(commands[i].name, buf, sp - buf) == 0) && (commands[i].name[sp - buf] == 0)) break; if (commands[i].name == NULL) return NULL;