1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 18:23:26 +02:00

fix typo in errmsg

This commit is contained in:
Antony Dovgal
2006-08-31 15:42:18 +00:00
parent 94b3210c38
commit 5bc435c4e8
+1 -1
View File
@@ -549,7 +549,7 @@ PHP_FUNCTION(pcntl_signal)
/* Special long value case for SIG_DFL and SIG_IGN */
if (Z_TYPE_P(handle)==IS_LONG) {
if (Z_LVAL_P(handle)!= (long) SIG_DFL && Z_LVAL_P(handle) != (long) SIG_IGN) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid value for handle argument specifEied");
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid value for handle argument specified");
}
if (php_signal(signo, (Sigfunc *) Z_LVAL_P(handle), (int) restart_syscalls) == SIG_ERR) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error assigning signal");