[gmime-devel] [PATCH] strtoul is not next_token ;)
- From: Daniel Kahn Gillmor <dkg fifthhorseman net>
- To: Gmime Development <gmime-devel-list gnome org>
- Subject: [gmime-devel] [PATCH] strtoul is not next_token ;)
- Date: Sat, 3 Dec 2016 12:30:58 -0500
---
gmime/gmime-gpg-context.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gmime/gmime-gpg-context.c b/gmime/gmime-gpg-context.c
index 278080a..e19603f 100644
--- a/gmime/gmime-gpg-context.c
+++ b/gmime/gmime-gpg-context.c
@@ -1269,7 +1269,7 @@ gpg_ctx_parse_status (struct _GpgCtx *gpg, GError **err)
status = next_token (status, FALSE, NULL);
/* this token is the digest algorithm used */
- gpg->digest = strtoul (status, FALSE, NULL, 10);
+ gpg->digest = strtoul (status, NULL, 10);
break;
case GPG_CTX_MODE_VERIFY:
gpg_ctx_parse_signer_info (gpg, status);
--
2.10.2
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]