summaryrefslogtreecommitdiff
path: root/pbx/pbx_ael.c
diff options
context:
space:
mode:
Diffstat (limited to 'pbx/pbx_ael.c')
-rw-r--r--pbx/pbx_ael.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pbx/pbx_ael.c b/pbx/pbx_ael.c
index 29a926988..42dd00f6f 100644
--- a/pbx/pbx_ael.c
+++ b/pbx/pbx_ael.c
@@ -3541,6 +3541,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;