Merged revisions 10577 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 20 Feb 2006 23:02:31 +0000 (23:02 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 20 Feb 2006 23:02:31 +0000 (23:02 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r10577 | tilghman | 2006-02-20 17:01:12 -0600 (Mon, 20 Feb 2006) | 2 lines

Would be nice to tell people to look in the right file to increase a constant

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10578 65c4cc65-6c06-0410-ace0-fbb531ad65f3

app.c

diff --git a/app.c b/app.c
index 51a668b..f43bd1d 100644 (file)
--- a/app.c
+++ b/app.c
@@ -594,7 +594,7 @@ int ast_play_and_record(struct ast_channel *chan, const char *playfile, const ch
 
        while((fmt = strsep(&stringp, "|"))) {
                if (fmtcnt > MAX_OTHER_FORMATS - 1) {
-                       ast_log(LOG_WARNING, "Please increase MAX_OTHER_FORMATS in app_voicemail.c\n");
+                       ast_log(LOG_WARNING, "Please increase MAX_OTHER_FORMATS in app.c\n");
                        break;
                }
                sfmt[fmtcnt++] = ast_strdupa(fmt);
@@ -824,7 +824,7 @@ int ast_play_and_prepend(struct ast_channel *chan, char *playfile, char *recordf
        
        while((fmt = strsep(&stringp, "|"))) {
                if (fmtcnt > MAX_OTHER_FORMATS - 1) {
-                       ast_log(LOG_WARNING, "Please increase MAX_OTHER_FORMATS in app_voicemail.c\n");
+                       ast_log(LOG_WARNING, "Please increase MAX_OTHER_FORMATS in app.c\n");
                        break;
                }
                sfmt[fmtcnt++] = ast_strdupa(fmt);