flags |= MESHLINK_INVITE_IPV4 | MESHLINK_INVITE_IPV6;
}
- fprintf(stderr, "flags = %u\n", flags);
-
// Add local addresses if requested
if(flags & MESHLINK_INVITE_LOCAL) {
if(flags & MESHLINK_INVITE_IPV4) {
int left = c->inbuf.len - c->inbuf.offset;
if(left > 0) {
- fprintf(stderr, "GOT A LITTLE MORE\n");
return sptps_receive_data(&c->sptps, buffer_read(&c->inbuf, left), left);
} else {
return true;
fputc('\n', stderr);
}
-void (*sptps_log)(sptps_t *s, int s_errno, const char *format, va_list ap) = sptps_log_stderr;
+void (*sptps_log)(sptps_t *s, int s_errno, const char *format, va_list ap) = sptps_log_quiet;
// Log an error message.
static bool error(sptps_t *s, int s_errno, const char *format, ...) {