Changeset 4279:5456f644df26 in roaraudio for roard/commands.c


Ignore:
Timestamp:
08/28/10 19:58:22 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

more debug infos, small fix in mes->datalen check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/commands.c

    r3926 r4279  
    9898  return -1; 
    9999 
    100  if ( (func = g_commands[cmd].handler) == NULL ) 
     100 if ( (func = g_commands[cmd].handler) == NULL ) { 
     101  ROAR_WARN("command_exec(client=%i, mes=%p{.cmd=%i,...}, data=%p, flags=%p) = -1 // unknown command", client, mes, (int)mes->cmd, data, flags); 
    101102  return -1; 
     103 } 
    102104 
    103105 ROAR_DBG("command_exec(*): Execing command %i(%s) via %p", cmd, g_commands[cmd].name, func); 
Note: See TracChangeset for help on using the changeset viewer.