From c3cdaeeff72486e52118054d92ac518c17aa3812 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 3 Jun 2003 19:55:50 +0000 Subject: Make use of libgpg-error --- 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 6baca08cf..0bbc1d76a 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 GNUPG_Invalid_Sexp; + return gpg_error (GPG_ERR_INVALID_SEXP); n = snext (&s); if (!n) - return GNUPG_Invalid_Sexp; + return gpg_error (GPG_ERR_INVALID_SEXP); s += n; } } -- cgit v1.2.3