diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2004-04-20 00:26:48 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2004-04-20 00:26:48 +0000 |
commit | 39f820b8b86344e7ae287e0aff2c489813ade686 (patch) | |
tree | d1a4f20e894301531e01599a02a4327f8c0730d8 /ext/tidy | |
parent | dddbe6f60e8bf21b36da7a0b97e80df59d270a14 (diff) | |
download | php-git-39f820b8b86344e7ae287e0aff2c489813ade686.tar.gz |
Fixed compiler warnings.
Diffstat (limited to 'ext/tidy')
-rw-r--r-- | ext/tidy/tidy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tidy/tidy.c b/ext/tidy/tidy.c index f7bc5228d2..7dfa6fc1c0 100644 --- a/ext/tidy/tidy.c +++ b/ext/tidy/tidy.c @@ -343,7 +343,7 @@ static void _php_tidy_throw_exception(char *message, ...) if(TG(inst)) { zend_throw_exception(tidy_ce_exception, msg, 0 TSRMLS_CC); } else { - php_error_docref(NULL TSRMLS_CC, E_WARNING, msg); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", msg); } va_end(ap); @@ -987,7 +987,7 @@ PHP_FUNCTION(ob_tidyhandler) if (input_len > 1) { if (tidyParseString(doc, input) < 0 || tidyCleanAndRepair(doc) < 0) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, errbuf.bp); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", errbuf.bp); RETVAL_NULL(); } else { TidyBuffer output = {0}; |