diff options
author | Marcus Brinkmann <[email protected]> | 2003-06-04 21:37:56 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2003-06-04 21:37:56 +0000 |
commit | a58ce94d8ef56ef13e33d4171141eb3e6c43bdc6 (patch) | |
tree | 6744a58aca08fc2d5da0ac6a145a970b587dc1bd /agent/sexp-parse.h | |
parent | Inadvertently left out of the 2003-06-01 checkin (diff) | |
download | gnupg-a58ce94d8ef56ef13e33d4171141eb3e6c43bdc6.tar.gz gnupg-a58ce94d8ef56ef13e33d4171141eb3e6c43bdc6.zip |
Update error handling to match gpg-error in CVS.
Diffstat (limited to '')
-rw-r--r-- | agent/sexp-parse.h | 4 |
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; } } |