Changeset 4298:f36b7f925311 in roaraudio for roard/commands.c


Ignore:
Timestamp:
09/03/10 17:38:05 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added support for large number of streams in LTM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/commands.c

    r4279 r4298  
    9494 int cmd = command_get_id_by_cmd(mes->cmd); 
    9595 int (*func)(int client, struct roar_message * mes, char ** data, uint32_t flags[2]); 
     96#ifdef DEBUG 
     97 int ret; 
     98#endif 
    9699 
    97100 if ( cmd == -1 ) 
     
    105108 ROAR_DBG("command_exec(*): Execing command %i(%s) via %p", cmd, g_commands[cmd].name, func); 
    106109 
     110#ifdef DEBUG 
     111 ROAR_DBG("command_exec(client=%i, mes=%p{.cmd=%i,...}, data=%p{%p}, flags=%p): func=%p", client, mes, (int)mes->cmd, data, *data, flags, func); 
     112 ret = func(client, mes, data, flags); 
     113 ROAR_DBG("command_exec(client=%i, mes=%p{.cmd=%i,...}, data=%p{%p}, flags=%p) = %i", client, mes, (int)mes->cmd, data, *data, flags, ret); 
     114 return ret; 
     115#else 
    107116 return func(client, mes, data, flags); 
     117#endif 
    108118} 
    109119 
Note: See TracChangeset for help on using the changeset viewer.