aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/file.h
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-17 23:18:51 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-17 23:18:51 +0000
commit9ed9bbabf4b8ff0294c44090db38596e4372f7ab (patch)
treea3f2ce4fd65d5aa1475c1c2759546c3e95ee294f /include/asterisk/file.h
parent9c024540238f1c193d392978b6d7517a75c54e6a (diff)
This update fulfils the request of bug 7109, which claimed the language arg to ast_stream_and_wait() was redundant. Almost all calls just used chan->language, and seeing how chan is the first argument, this certainly seems redundant. A change of language could just as easily be done by simply changing the channel language before calling.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47821 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/file.h')
-rw-r--r--include/asterisk/file.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/asterisk/file.h b/include/asterisk/file.h
index 029bcf25d..81aab3d03 100644
--- a/include/asterisk/file.h
+++ b/include/asterisk/file.h
@@ -168,8 +168,7 @@ int ast_streamfile(struct ast_channel *c, const char *filename, const char *pref
* Return 0 if success, -1 if error, digit if interrupted by a digit.
* If digits == "" then we can simply check for non-zero.
*/
-int ast_stream_and_wait(struct ast_channel *chan, const char *file,
- const char *language, const char *digits);
+int ast_stream_and_wait(struct ast_channel *chan, const char *file, const char *digits);
/*! Stops a stream */
/*!