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



Thanks!

On 12/3/2016 12:30 PM, Daniel Kahn Gillmor wrote:
---
  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);




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]