[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 01/02: fix type and indentation
From: |
gnunet |
Subject: |
[taler-exchange] 01/02: fix type and indentation |
Date: |
Tue, 29 Oct 2019 18:04:11 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit 36efe024f55c3373344170f077b984f678aa4269
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Oct 29 17:56:00 2019 +0100
fix type and indentation
---
src/util/util.c | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/src/util/util.c b/src/util/util.c
index 0520d031..3cc494fa 100644
--- a/src/util/util.c
+++ b/src/util/util.c
@@ -356,17 +356,17 @@ TALER_url_join (const char *base_url,
*/
char *
TALER_url_absolute_raw_va (const char *proto,
- const char *host,
- const char *prefix,
- const char *path,
- va_list args)
+ const char *host,
+ const char *prefix,
+ const char *path,
+ va_list args)
{
struct TALER_Buffer buf = { 0 };
unsigned int iparam = 0;
size_t len = 0;
va_list args2;
- len += strlen (proto) + strlen( "://") + strlen (host);
+ len += strlen (proto) + strlen ("://") + strlen (host);
len += strlen (prefix) + strlen (path);
va_copy (args2, args);
@@ -725,9 +725,11 @@ TALER_buffer_write_fstr (struct TALER_Buffer *buf, const
char *fmt, ...)
* @param args format argument list
*/
void
-TALER_buffer_write_vfstr (struct TALER_Buffer *buf, const char *fmt, va_list
args)
+TALER_buffer_write_vfstr (struct TALER_Buffer *buf,
+ const char *fmt,
+ va_list args)
{
- size_t res;
+ int res;
va_list args2;
va_copy (args2, args);
--
To stop receiving notification emails like this one, please contact
address@hidden.