+ if(hash == HASH_CMDTYPE) {
+ hashval = hash_cmdtype(comet2cmd[i].name, comet2cmd[i].type);
+ p->next = cmdtype_code[hashval];
+ cmdtype_code[hashval] = p;
+ } else if(hash == HASH_CODE) {
+ hashval = hash_code((&comet2cmd[i])->code);
+ p->next = code_cmdtype[hashval];
+ code_cmdtype[hashval] = p;
+ }