diff options
author | Corey Farrell <git@cfware.com> | 2016-08-03 16:41:04 -0400 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2016-08-03 16:11:38 -0500 |
commit | 29b0f733a0ee97c39d8a5b7a5485779f4d80dc5b (patch) | |
tree | a99ab05baa46fc61e43ae8aea2d9295f2e82f196 /include/asterisk | |
parent | 90b30b21ac34f759dbe04fbb21fcdbbd1b645d21 (diff) |
Add missing checks during startup.
This ensures startup is canceled due to allocation failures from the
following initializations.
* channel.c: ast_channels_init
* config_options.c: aco_init
ASTERISK-26265 #close
Change-Id: I911ed08fa2a3be35de55903e0225957bcdbe9611
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/_private.h b/include/asterisk/_private.h index 6dbf24f4d..36b316f2a 100644 --- a/include/asterisk/_private.h +++ b/include/asterisk/_private.h @@ -29,7 +29,7 @@ void logger_queue_start(void); /*!< Provided by logger.c */ void clean_time_zones(void); /*!< Provided by localtime.c */ int ast_term_init(void); /*!< Provided by term.c */ int astdb_init(void); /*!< Provided by db.c */ -void ast_channels_init(void); /*!< Provided by channel.c */ +int ast_channels_init(void); /*!< Provided by channel.c */ void ast_builtins_init(void); /*!< Provided by cli.c */ int ast_cli_perms_init(int reload); /*!< Provided by cli.c */ int dnsmgr_init(void); /*!< Provided by dnsmgr.c */ |