From c00c45c6e28b52f30e55ee44d990501331555384 Mon Sep 17 00:00:00 2001 From: Thilo Raufeisen Date: Mon, 28 Nov 2005 14:55:33 +0000 Subject: [PATCH] fixed error, when an invalid errormode is passed --- gnupg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnupg.c b/gnupg.c index 4f5872f..d26f556 100644 --- a/gnupg.c +++ b/gnupg.c @@ -33,7 +33,7 @@ static int le_gnupg; -#define PHP_GNUPG_VERSION "0.6beta" +#define PHP_GNUPG_VERSION "0.7beta" #ifdef ZEND_ENGINE_2 static zend_object_handlers gnupg_object_handlers; @@ -506,7 +506,7 @@ PHP_FUNCTION(gnupg_seterrormode){ break; #endif default: - GNUPG_ERROR("invalid errormode"); + GNUPG_ERR("invalid errormode"); } } /* }}} */