X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fmeta.c;h=27d2394a2d7d1877a960c0d08c1715d667fc5484;hp=275eae3567187f5fe0626f37e70eb479fc1556c4;hb=5dde6461a321ee47b06e33f8203f2acf00a31a51;hpb=ab7c61b06f6c6e991225f2fcc32d02b8e1084aee diff --git a/src/meta.c b/src/meta.c index 275eae35..27d2394a 100644 --- a/src/meta.c +++ b/src/meta.c @@ -32,8 +32,7 @@ #include "utils.h" #include "xalloc.h" -bool send_meta(connection_t *c, const char *buffer, int length) -{ +bool send_meta(connection_t *c, const char *buffer, int length) { int outlen; int result; @@ -82,8 +81,7 @@ bool send_meta(connection_t *c, const char *buffer, int length) return true; } -bool flush_meta(connection_t *c) -{ +bool flush_meta(connection_t *c) { int result; ifdebug(META) logger(LOG_DEBUG, _("Flushing %d bytes to %s (%s)"), @@ -119,8 +117,7 @@ bool flush_meta(connection_t *c) return true; } -void broadcast_meta(connection_t *from, const char *buffer, int length) -{ +void broadcast_meta(connection_t *from, const char *buffer, int length) { avl_node_t *node; connection_t *c; @@ -134,8 +131,7 @@ void broadcast_meta(connection_t *from, const char *buffer, int length) } } -bool receive_meta(connection_t *c) -{ +bool receive_meta(connection_t *c) { int oldlen, i, result; int lenin, lenout, reqlen; bool decrypted = false;