Git
Wiki
Site
projects
/
soft
/
tools
/
lpctools
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3595cb
)
Fixing return code of isp_handle_command()
author
Nathael Pajani
<nathael.pajani@ed3l.fr>
Sun, 15 Apr 2012 21:37:47 +0000
(23:37 +0200)
committer
Nathael Pajani
<nathael.pajani@ed3l.fr>
Sun, 15 Apr 2012 21:37:47 +0000
(23:37 +0200)
isp_commands.c
patch
|
blob
|
history
diff --git
a/isp_commands.c
b/isp_commands.c
index
f269da9
..
2183241
100644
(file)
--- a/
isp_commands.c
+++ b/
isp_commands.c
@@
-532,7
+532,7
@@
int isp_handle_command(char* cmd, int arg_count, char** args)
if (arg_count != isp_cmds_list[cmd_found].nb_args) {
isp_warn_trailing_args(cmd_found, arg_count, args);
}
- isp_cmds_list[cmd_found].handler(arg_count, args);
+
ret =
isp_cmds_list[cmd_found].handler(arg_count, args);
if (cmd_found == -1) {
printf("Unknown command \"%s\", use -h or --help for a list.\n", cmd);
Techno-Innov
42 impasse de la Combe du Bois
01150 Blyes - France
contact@techno-innov.fr
Design et hébergement du site :
Techno-Innov
Techno-Innov
- SARL Coopérative
539 169 417 RCS Bourg-en-Bresse
Ce site n'utilise pas de cookies, désolé pour les gourmands !