aboutsummaryrefslogtreecommitdiffstats
path: root/agent/sexp-parse.h
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2003-06-04 21:37:56 +0000
committerMarcus Brinkmann <[email protected]>2003-06-04 21:37:56 +0000
commita58ce94d8ef56ef13e33d4171141eb3e6c43bdc6 (patch)
tree6744a58aca08fc2d5da0ac6a145a970b587dc1bd /agent/sexp-parse.h
parentInadvertently left out of the 2003-06-01 checkin (diff)
downloadgnupg-a58ce94d8ef56ef13e33d4171141eb3e6c43bdc6.tar.gz
gnupg-a58ce94d8ef56ef13e33d4171141eb3e6c43bdc6.zip
Update error handling to match gpg-error in CVS.
Diffstat (limited to '')
-rw-r--r--agent/sexp-parse.h4
1 files changed, 2 insertions, 2 deletions
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;
}
}