summaryrefslogtreecommitdiff
path: root/image.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2006-05-16 03:18:57 +0000
committerRussell Bryant <russell@russellbryant.com>2006-05-16 03:18:57 +0000
commit43afee3a0c97d48bf89d5a650d47d65cb43f57b4 (patch)
tree5f055086457b7e962b3e74b858c71c6db6c3cb93 /image.c
parent8047e8067ed18f03b55089b0987ee9258b591f52 (diff)
return the result of the cli command registration
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'image.c')
-rw-r--r--image.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/image.c b/image.c
index 9d8901af0..570f1e744 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);
}