fixed error, when an invalid errormode is passed

This commit is contained in:
Thilo Raufeisen 2005-11-28 14:55:33 +00:00
parent d0ae5002f1
commit c00c45c6e2

View file

@ -33,7 +33,7 @@
static int le_gnupg; static int le_gnupg;
#define PHP_GNUPG_VERSION "0.6beta" #define PHP_GNUPG_VERSION "0.7beta"
#ifdef ZEND_ENGINE_2 #ifdef ZEND_ENGINE_2
static zend_object_handlers gnupg_object_handlers; static zend_object_handlers gnupg_object_handlers;
@ -506,7 +506,7 @@ PHP_FUNCTION(gnupg_seterrormode){
break; break;
#endif #endif
default: default:
GNUPG_ERROR("invalid errormode"); GNUPG_ERR("invalid errormode");
} }
} }
/* }}} */ /* }}} */