projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fork when using the "start" command in tincctl.
[tinc]
/
src
/
meta.c
diff --git
a/src/meta.c
b/src/meta.c
index
a272baf
..
d44b2dd
100644
(file)
--- a/
src/meta.c
+++ b/
src/meta.c
@@
-31,7
+31,7
@@
#include "utils.h"
#include "xalloc.h"
#include "utils.h"
#include "xalloc.h"
-bool send_meta_sptps(void *handle, const char *buffer, size_t length) {
+bool send_meta_sptps(void *handle,
uint8_t type,
const char *buffer, size_t length) {
connection_t *c = handle;
if(!c) {
connection_t *c = handle;
if(!c) {
@@
-39,7
+39,7
@@
bool send_meta_sptps(void *handle, const char *buffer, size_t length) {
abort();
}
abort();
}
- logger(DEBUG_META, LOG_DEBUG, "send_meta_sptps(%s, %p, %
zu)", c->name, buffer,
length);
+ logger(DEBUG_META, LOG_DEBUG, "send_meta_sptps(%s, %p, %
d)", c->name, buffer, (int)
length);
buffer_add(&c->outbuf, buffer, length);
event_add(&c->outevent, NULL);
buffer_add(&c->outbuf, buffer, length);
event_add(&c->outevent, NULL);