command.c: Fix a bug in get_cmd_ptr().
authorAndre Noll <maan@systemlinux.org>
Sat, 15 Sep 2007 20:09:31 +0000 (22:09 +0200)
committerAndre Noll <maan@systemlinux.org>
Sat, 15 Sep 2007 20:09:31 +0000 (22:09 +0200)
commit024a12e75bea8695a02e2abb43eb0d77cb04f144
treed501cb102897240f723f6a61ef541c0f0da6f601
parent74d8b443aba528dc65af874a81c53be26aaace9e
command.c: Fix a bug in get_cmd_ptr().

Caused handler to segfault if an invalid command was given.
command.c