projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ensure that the texinfo manual can be converted to HTML.
[tinc]
/
src
/
meta.c
diff --git
a/src/meta.c
b/src/meta.c
index
e56c86f
..
29dd824
100644
(file)
--- a/
src/meta.c
+++ b/
src/meta.c
@@
-88,7
+88,7
@@
bool receive_meta(connection_t *c) {
buffer_compact(&c->inbuf, MAXBUFSIZE);
if(sizeof inbuf <= c->inbuf.len) {
buffer_compact(&c->inbuf, MAXBUFSIZE);
if(sizeof inbuf <= c->inbuf.len) {
- logger(LOG_ERR, "Input buffer full for %s (%s)
\n", c
, c->hostname);
+ logger(LOG_ERR, "Input buffer full for %s (%s)
", c->name
, c->hostname);
return false;
}
return false;
}
@@
-137,8
+137,8
@@
bool receive_meta(connection_t *c) {
if(c->tcplen) {
char *tcpbuffer = buffer_read(&c->inbuf, c->tcplen);
if(tcpbuffer) {
if(c->tcplen) {
char *tcpbuffer = buffer_read(&c->inbuf, c->tcplen);
if(tcpbuffer) {
- c->tcplen = 0;
receive_tcppacket(c, tcpbuffer, c->tcplen);
receive_tcppacket(c, tcpbuffer, c->tcplen);
+ c->tcplen = 0;
continue;
} else {
break;
continue;
} else {
break;