diff options
| author | Marcus Boerger <helly@php.net> | 2002-12-05 20:59:49 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2002-12-05 20:59:49 +0000 |
| commit | 49a99a98f4ce898c891cfa6fa313570de58a40db (patch) | |
| tree | 3bfeac68dd836842177840e3c7b67e8e1235e0dc /ext/standard/exec.c | |
| parent | 3cf581b1b3dbd992669ae3c8f80f71db576a2a9d (diff) | |
| download | php-git-49a99a98f4ce898c891cfa6fa313570de58a40db.tar.gz | |
-php_error -> php_error_docref
-removed some cases where emalloc result was tested
Diffstat (limited to 'ext/standard/exec.c')
| -rw-r--r-- | ext/standard/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c index e9bcd86b9f..f83ca07f19 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -72,7 +72,7 @@ static int php_make_safe_mode_command(char *cmd, char **safecmd TSRMLS_DC) larg0 = strlen(arg0); if (strstr(arg0, "..")) { - php_error(E_WARNING, "No '..' components allowed in path"); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "No '..' components allowed in path"); efree(arg0); return FAILURE; } |
