diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2007-01-06 00:13:33 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2007-01-06 00:13:33 +0000 |
commit | 37182c873e93244ae1181130be60e0de2b209ed4 (patch) | |
tree | 774e467428b4c8e37cd6b282ee0b287d0e10b525 /funcs/func_uri.c | |
parent | 4a6ed271f505fcc027cc94a92737f29f83aff153 (diff) |
finish const-ifying ast_func_read()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs/func_uri.c')
-rw-r--r-- | funcs/func_uri.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/funcs/func_uri.c b/funcs/func_uri.c index 2680dd678..d8959daf1 100644 --- a/funcs/func_uri.c +++ b/funcs/func_uri.c @@ -44,7 +44,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/app.h" /*! \brief uriencode: Encode URL according to RFC 2396 */ -static int uriencode(struct ast_channel *chan, char *cmd, char *data, +static int uriencode(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t len) { if (ast_strlen_zero(data)) { @@ -58,7 +58,7 @@ static int uriencode(struct ast_channel *chan, char *cmd, char *data, } /*!\brief uridecode: Decode URI according to RFC 2396 */ -static int uridecode(struct ast_channel *chan, char *cmd, char *data, +static int uridecode(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t len) { if (ast_strlen_zero(data)) { |