Minor fix in directory app (bug #2322)
authorMark Spencer <markster@digium.com>
Mon, 30 Aug 2004 01:44:41 +0000 (01:44 +0000)
committerMark Spencer <markster@digium.com>
Mon, 30 Aug 2004 01:44:41 +0000 (01:44 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3678 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_directory.c

index 6d41744..e0a962f 100755 (executable)
@@ -184,7 +184,7 @@ static int play_mailbox_owner(struct ast_channel *chan, char *context, char *dia
                                                ast_log(LOG_WARNING,
                                                        "Can't find extension '%s' in context '%s'.  "
                                                        "Did you pass the wrong context to Directory?\n",
                                                ast_log(LOG_WARNING,
                                                        "Can't find extension '%s' in context '%s'.  "
                                                        "Did you pass the wrong context to Directory?\n",
-                                                       ext, context);
+                                                       ext, dialcontext);
                                                res = -1;
                                        }
                                        break;
                                                res = -1;
                                        }
                                        break;