summaryrefslogtreecommitdiff
path: root/ext/standard/uniqid.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-12-05 20:59:49 +0000
committerMarcus Boerger <helly@php.net>2002-12-05 20:59:49 +0000
commit49a99a98f4ce898c891cfa6fa313570de58a40db (patch)
tree3bfeac68dd836842177840e3c7b67e8e1235e0dc /ext/standard/uniqid.c
parent3cf581b1b3dbd992669ae3c8f80f71db576a2a9d (diff)
downloadphp-git-49a99a98f4ce898c891cfa6fa313570de58a40db.tar.gz
-php_error -> php_error_docref
-removed some cases where emalloc result was tested
Diffstat (limited to 'ext/standard/uniqid.c')
-rw-r--r--ext/standard/uniqid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/uniqid.c b/ext/standard/uniqid.c
index c7a6bd58a7..feff29949c 100644
--- a/ext/standard/uniqid.c
+++ b/ext/standard/uniqid.c
@@ -57,7 +57,7 @@ PHP_FUNCTION(uniqid)
/* Do some bounds checking since we are using a char array. */
if (prefix_len > 114) {
- php_error(E_WARNING, "The prefix to uniqid should not be more than 114 characters.");
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "The prefix to uniqid should not be more than 114 characters.");
return;
}
#if HAVE_USLEEP && !defined(PHP_WIN32)