projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'origin/silc.1.1.branch'
[silc.git]
/
lib
/
silcclient
/
command.c
diff --git
a/lib/silcclient/command.c
b/lib/silcclient/command.c
index a50ab52304b83e575d2dc274cea5d8e75e038170..b5827f22819405d28285b296fdb10e15997d93c9 100644
(file)
--- a/
lib/silcclient/command.c
+++ b/
lib/silcclient/command.c
@@
-411,6
+411,7
@@
SilcUInt16 silc_client_command_call(SilcClient client,
SilcUInt32 argc = 0;
unsigned char **argv = NULL;
SilcUInt32 *argv_lens = NULL, *argv_types = NULL;
SilcUInt32 argc = 0;
unsigned char **argv = NULL;
SilcUInt32 *argv_lens = NULL, *argv_types = NULL;
+ SilcUInt16 cmd_ident;
SilcClientCommand command;
SilcClientCommandContext cmd;
char *arg;
SilcClientCommand command;
SilcClientCommandContext cmd;
char *arg;
@@
-480,7
+481,7
@@
SilcUInt16 silc_client_command_call(SilcClient client,
cmd->argv = argv;
cmd->argv_lens = argv_lens;
cmd->argv_types = argv_types;
cmd->argv = argv;
cmd->argv_lens = argv_lens;
cmd->argv_types = argv_types;
- cmd->cmd_ident = silc_client_cmd_ident(conn);
+ cmd
_ident = cmd
->cmd_ident = silc_client_cmd_ident(conn);
cmd->called = TRUE;
cmd->verbose = TRUE;
silc_list_init(cmd->reply_callbacks,
cmd->called = TRUE;
cmd->verbose = TRUE;
silc_list_init(cmd->reply_callbacks,
@@
-492,7
+493,7
@@
SilcUInt16 silc_client_command_call(SilcClient client,
silc_client_command_destructor, NULL, FALSE);
silc_fsm_start_sync(&cmd->thread, command->command);
silc_client_command_destructor, NULL, FALSE);
silc_fsm_start_sync(&cmd->thread, command->command);
- return cmd
->cmd
_ident;
+ return cmd_ident;
}
/* Generic function to send any command. The arguments must be sent already
}
/* Generic function to send any command. The arguments must be sent already