diff options
Diffstat (limited to 'pbx/pbx_ael.c')
-rw-r--r-- | pbx/pbx_ael.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pbx/pbx_ael.c b/pbx/pbx_ael.c index 1594c82b3..dff3023ea 100644 --- a/pbx/pbx_ael.c +++ b/pbx/pbx_ael.c @@ -3429,6 +3429,10 @@ void add_extensions(struct ael_extension *exten) { struct ael_priority *pr; char *label=0; + if (!exten) { + ast_log(LOG_WARNING, "This file is Empty!\n" ); + return; + } do { struct ael_priority *last = 0; |