[gmime-devel] [PATCH] strtoul is not next_token ;)



---
 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]