提交 2632af92 authored 作者: Daniel Swarbrick's avatar Daniel Swarbrick

FS-2953

上级 09e6fd3f
......@@ -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 == ',') {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论