[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 74/219: md5: Code style to return CURLE_OK rather t
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 74/219: md5: Code style to return CURLE_OK rather than numeric 0 |
Date: |
Wed, 22 May 2019 19:16:53 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit 28f826b3bff05791bf11e5b96c68cc0fee4ca7df
Author: Steve Holme <address@hidden>
AuthorDate: Sun Apr 14 08:42:36 2019 +0100
md5: Code style to return CURLE_OK rather than numeric 0
---
lib/md5.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/md5.c b/lib/md5.c
index a7ef35430..36bad8908 100644
--- a/lib/md5.c
+++ b/lib/md5.c
@@ -551,7 +551,7 @@ int Curl_MD5_update(MD5_context *context,
{
(*context->md5_hash->md5_update_func)(context->md5_hashctx, data, len);
- return 0;
+ return CURLE_OK;
}
int Curl_MD5_final(MD5_context *context, unsigned char *result)
@@ -561,7 +561,7 @@ int Curl_MD5_final(MD5_context *context, unsigned char
*result)
free(context->md5_hashctx);
free(context);
- return 0;
+ return CURLE_OK;
}
#endif /* CURL_DISABLE_CRYPTO_AUTH */
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnurl] 74/219: md5: Code style to return CURLE_OK rather than numeric 0,
gnunet <=