From: Andre Noll Date: Sat, 15 Sep 2007 07:16:05 +0000 (+0200) Subject: command.c: Fix om_help(). X-Git-Tag: v0.3.0~411 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=5f956b99f8f30642227686dd9341950f011512ae;ds=sidebyside command.c: Fix om_help(). It segfaulted due to a missing return statement. --- diff --git a/command.c b/command.c index 8bef1498..516a62fe 100644 --- 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"); + return send_list_of_commands(fd, cmd, "afs"); } /* argument given for help */ cmd = get_cmd_ptr(argv[1], &handler);