From a58ce94d8ef56ef13e33d4171141eb3e6c43bdc6 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Wed, 4 Jun 2003 21:37:56 +0000 Subject: Update error handling to match gpg-error in CVS. --- agent/sexp-parse.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'agent/sexp-parse.h') diff --git a/agent/sexp-parse.h b/agent/sexp-parse.h index 0bbc1d76a..338321f48 100644 --- a/agent/sexp-parse.h +++ b/agent/sexp-parse.h @@ -68,10 +68,10 @@ sskip (unsigned char const **buf, int *depth) else { if (!d) - return gpg_error (GPG_ERR_INVALID_SEXP); + return gpg_error (GPG_ERR_INV_SEXP); n = snext (&s); if (!n) - return gpg_error (GPG_ERR_INVALID_SEXP); + return gpg_error (GPG_ERR_INV_SEXP); s += n; } } -- cgit v1.2.3