This commit is contained in:
Daniel Swarbrick 2011-01-03 12:52:11 +01:00
parent 09e6fd3f4e
commit 2632af929d
1 changed files with 2 additions and 2 deletions

View File

@ -213,7 +213,7 @@ static switch_status_t save_cdr(const char * const template, const char * const
/*
* In the expanded vars, replace double quotes (") with single quotes (')
* for corect PostgreSQL syntax, and replace semi-colon with space to
* for correct PostgreSQL syntax, and replace semi-colon with space to
* prevent SQL injection attacks.
*/
values = strdup(cdr);
@ -231,7 +231,7 @@ static switch_status_t save_cdr(const char * const template, const char * const
/*
* Patch for changing empty strings ('') in the expanded variables to
* Postgresql null
* PostgreSQL null
*/
for (p = values; *p; ++p) {
if (*p == ',') {