Changeset 4298:f36b7f925311 in roaraudio for roard/commands.c
- Timestamp:
- 09/03/10 17:38:05 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/commands.c
r4279 r4298 94 94 int cmd = command_get_id_by_cmd(mes->cmd); 95 95 int (*func)(int client, struct roar_message * mes, char ** data, uint32_t flags[2]); 96 #ifdef DEBUG 97 int ret; 98 #endif 96 99 97 100 if ( cmd == -1 ) … … 105 108 ROAR_DBG("command_exec(*): Execing command %i(%s) via %p", cmd, g_commands[cmd].name, func); 106 109 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 107 116 return func(client, mes, data, flags); 117 #endif 108 118 } 109 119
Note: See TracChangeset
for help on using the changeset viewer.