diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2003-01-24 16:29:40 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2003-01-24 16:29:40 +0000 |
| commit | 38ad0e91046fc7bd882f235491a275271897ccf7 (patch) | |
| tree | 649b2075834b0aee3bfb2e4141e6f9c408c3caa9 /ext/crack | |
| parent | 95bfbfe1c1cad6611a157b7f7c0e909774dd5511 (diff) | |
| download | php-git-38ad0e91046fc7bd882f235491a275271897ccf7.tar.gz | |
zend_error -> php_error_docref.
Diffstat (limited to 'ext/crack')
| -rw-r--r-- | ext/crack/crack.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/crack/crack.c b/ext/crack/crack.c index 414079ed29..5bd362d0f5 100644 --- a/ext/crack/crack.c +++ b/ext/crack/crack.c @@ -69,11 +69,11 @@ long _crack_open_dict(char *dictpath TSRMLS_DC) long resource; if (CRACKG(current_id) != -1) { - zend_error(E_WARNING, "Can not use more than one open dictionary with this implementation of libcrack"); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Can not use more than one open dictionary with this implementation of libcrack"); return -1; } if (NULL == (pwdict = PWOpen(dictpath, "r"))) { - zend_error(E_WARNING, "Unable to open a crack dictionary"); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to open a crack dictionary"); return -1; } @@ -256,7 +256,7 @@ ZEND_FUNCTION(crack_getlastmessage) } if (NULL == CRACKG(last_message)) { - zend_error(E_WARNING, "No obscure checks in this session"); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "No obscure checks in this session"); RETURN_FALSE; } |
