projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove explicit distribution rules for m4 scripts.
[tinc]
/
src
/
sptps_speed.c
diff --git
a/src/sptps_speed.c
b/src/sptps_speed.c
index
1ba00f2
..
ab41e8d
100644
(file)
--- a/
src/sptps_speed.c
+++ b/
src/sptps_speed.c
@@
-1,6
+1,6
@@
/*
sptps_speed.c -- SPTPS benchmark
/*
sptps_speed.c -- SPTPS benchmark
- Copyright (C) 2013
Guus Sliepen <guus@tinc-vpn.org>,
+ Copyright (C) 2013
-2014 Guus Sliepen <guus@tinc-vpn.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-35,13
+35,13
@@
bool send_meta(void *c, const char *msg , int len) { return false; }
char *logfilename = NULL;
struct timeval now;
char *logfilename = NULL;
struct timeval now;
-static bool send_data(void *handle, uint8_t type, const
char
*data, size_t len) {
+static bool send_data(void *handle, uint8_t type, const
void
*data, size_t len) {
int fd = *(int *)handle;
send(fd, data, len, 0);
return true;
}
int fd = *(int *)handle;
send(fd, data, len, 0);
return true;
}
-static bool receive_record(void *handle, uint8_t type, const
char
*data, uint16_t len) {
+static bool receive_record(void *handle, uint8_t type, const
void
*data, uint16_t len) {
return true;
}
return true;
}