projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
K&R style braces.
[tinc]
/
src
/
meta.c
diff --git
a/src/meta.c
b/src/meta.c
index
275eae3
..
27d2394
100644
(file)
--- a/
src/meta.c
+++ b/
src/meta.c
@@
-32,8
+32,7
@@
#include "utils.h"
#include "xalloc.h"
#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;
int outlen;
int result;
@@
-82,8
+81,7
@@
bool send_meta(connection_t *c, const char *buffer, int length)
return true;
}
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)"),
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;
}
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;
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;
int oldlen, i, result;
int lenin, lenout, reqlen;
bool decrypted = false;