From: Marcus Boerger Date: Thu, 7 Nov 2002 13:00:37 +0000 (+0000) Subject: remove debug output and use php_error_docref instead X-Git-Tag: php-4.3.0RC1~210 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=927033c616550c3dffd724a3fcef92cee5e41ae0;p=php remove debug output and use php_error_docref instead --- diff --git a/ext/dba/dba_gdbm.c b/ext/dba/dba_gdbm.c index 386c8f0874..18288ace27 100644 --- a/ext/dba/dba_gdbm.c +++ b/ext/dba/dba_gdbm.c @@ -105,7 +105,7 @@ DBA_UPDATE_FUNC(gdbm) if(gdbm_store(dba->dbf, gkey, gval, mode == 1 ? GDBM_INSERT : GDBM_REPLACE) == 0) return SUCCESS; - printf("XXX %s\n", gdbm_strerror(gdbm_errno)); + php_error_docref2(NULL TSRMLS_CC, key, val, E_WARNING, "%s", gdbm_strerror(gdbm_errno)); return FAILURE; }