diff options
| author | Stefan Esser <sesser@php.net> | 2005-12-23 18:23:43 +0000 |
|---|---|---|
| committer | Stefan Esser <sesser@php.net> | 2005-12-23 18:23:43 +0000 |
| commit | f7c77f0f335b74ef835a925673114f22b3508ef8 (patch) | |
| tree | 9597782097f2a4594cd1c6af75f8554b980a2d31 /ext/mysqli/mysqli_report.c | |
| parent | fc6d0f3264c9e617b3db58528a73fbf91d95235f (diff) | |
| download | php-git-f7c77f0f335b74ef835a925673114f22b3508ef8.tar.gz | |
Beware of format strings...
Diffstat (limited to 'ext/mysqli/mysqli_report.c')
| -rw-r--r-- | ext/mysqli/mysqli_report.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli_report.c b/ext/mysqli/mysqli_report.c index 0fe664ddda..d25e8319ec 100644 --- a/ext/mysqli/mysqli_report.c +++ b/ext/mysqli/mysqli_report.c @@ -46,7 +46,7 @@ PHP_FUNCTION(mysqli_report) /* {{{ void php_mysqli_report_error(char *sqlstate, int errorno, char *error) */ void php_mysqli_report_error(char *sqlstate, int errorno, char *error TSRMLS_DC) { - php_mysqli_throw_sql_exception(sqlstate, errorno TSRMLS_CC, error); + php_mysqli_throw_sql_exception(sqlstate, errorno TSRMLS_CC, "%s", error); } /* }}} */ |
