gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: indentation


From: gnunet
Subject: [gnunet] branch master updated: indentation
Date: Fri, 10 Apr 2020 21:36:01 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new deac05f42 indentation
deac05f42 is described below

commit deac05f4294572f52f2e25aa79d7ec8ba1b7ed5a
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Apr 10 21:31:25 2020 +0200

    indentation
---
 src/util/buffer.c | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/src/util/buffer.c b/src/util/buffer.c
index d89565d68..8efb3e284 100644
--- a/src/util/buffer.c
+++ b/src/util/buffer.c
@@ -51,7 +51,8 @@ GNUNET_buffer_prealloc (struct GNUNET_Buffer *buf, size_t 
capacity)
  * @param n number of bytes that should be available to write
  */
 void
-GNUNET_buffer_ensure_remaining (struct GNUNET_Buffer *buf, size_t n)
+GNUNET_buffer_ensure_remaining (struct GNUNET_Buffer *buf,
+                                size_t n)
 {
   size_t new_capacity = buf->position + n;
 
@@ -77,10 +78,11 @@ GNUNET_buffer_ensure_remaining (struct GNUNET_Buffer *buf, 
size_t n)
  * @param buf buffer to write to
  * @param data data to read from
  * @param len number of bytes to copy from @a data to @a buf
- *
  */
 void
-GNUNET_buffer_write (struct GNUNET_Buffer *buf, const char *data, size_t len)
+GNUNET_buffer_write (struct GNUNET_Buffer *buf,
+                     const char *data,
+                     size_t len)
 {
   GNUNET_buffer_ensure_remaining (buf, len);
   memcpy (buf->mem + buf->position, data, len);
@@ -95,7 +97,8 @@ GNUNET_buffer_write (struct GNUNET_Buffer *buf, const char 
*data, size_t len)
  * @param str the string to write to @a buf
  */
 void
-GNUNET_buffer_write_str (struct GNUNET_Buffer *buf, const char *str)
+GNUNET_buffer_write_str (struct GNUNET_Buffer *buf,
+                         const char *str)
 {
   size_t len = strlen (str);
 
@@ -203,8 +206,8 @@ GNUNET_buffer_write_fstr (struct GNUNET_Buffer *buf, const 
char *fmt, ...)
  */
 void
 GNUNET_buffer_write_vfstr (struct GNUNET_Buffer *buf,
-                          const char *fmt,
-                          va_list args)
+                           const char *fmt,
+                           va_list args)
 {
   int res;
   va_list args2;

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]