projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
556417e
)
command.c: Fix om_help().
author
Andre Noll
<maan@systemlinux.org>
Sat, 15 Sep 2007 07:16:05 +0000
(09:16 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Sat, 15 Sep 2007 07:16:05 +0000
(09:16 +0200)
It segfaulted due to a missing return statement.
command.c
patch
|
blob
|
history
diff --git
a/command.c
b/command.c
index 8bef14983546a86757022e9974ddd6342ee936b0..516a62fe520887e1b015ff8e159b8027dd86b232 100644
(file)
--- a/
command.c
+++ b/
command.c
@@
-499,7
+499,7
@@
int com_help(int fd, int argc, char * const * argv)
if (ret < 0)
return ret;
cmd = afs_cmds;
- ret
=
send_list_of_commands(fd, cmd, "afs");
+ ret
urn
send_list_of_commands(fd, cmd, "afs");
}
/* argument given for help */
cmd = get_cmd_ptr(argv[1], &handler);