Fixed. Done. Good. Make ast_join work like it used to.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2006-07-10 19:58:33 +00:00
parent 2e58363fed
commit 696275bcc1
2 changed files with 2 additions and 2 deletions

View File

@@ -226,7 +226,7 @@ int ast_false(const char *val);
string. It will also place a space in the result buffer in between each string. It will also place a space in the result buffer in between each
string from 'w'. string from 'w'.
*/ */
void ast_join(char *s, size_t len, const char *w[]); void ast_join(char *s, size_t len, char * const w[]);
/* /*
\brief Parse a time (integer) string. \brief Parse a time (integer) string.

View File

@@ -1050,7 +1050,7 @@ char *ast_process_quotes_and_slashes(char *start, char find, char replace_with)
return dataPut; return dataPut;
} }
void ast_join(char *s, size_t len, const char *w[]) void ast_join(char *s, size_t len, char * const w[])
{ {
int x, ofs = 0; int x, ofs = 0;
const char *src; const char *src;