From: Russell Bryant Date: Tue, 16 May 2006 03:18:57 +0000 (+0000) Subject: return the result of the cli command registration X-Git-Tag: 1.4.0-beta1~1374 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=43afee3a0c97d48bf89d5a650d47d65cb43f57b4;p=thirdparty%2Fasterisk.git return the result of the cli command registration git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27270 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/image.c b/image.c index 9d8901af0c..570f1e7442 100644 --- a/image.c +++ b/image.c @@ -205,7 +205,6 @@ struct ast_cli_entry show_images = int ast_image_init(void) { - ast_cli_register(&show_images); - return 0; + return ast_cli_register(&show_images); }