Revert "make usage of function parameters"

This reverts commit 8108b0d5eb.
This commit is contained in:
thorkill 2015-06-30 18:10:16 +02:00
parent f5f35bd148
commit 8a39621c64
4 changed files with 4 additions and 13 deletions

View file

@ -1406,7 +1406,7 @@ void handle_incoming_vpn_data(void *data, int flags) {
if(len <= 0 || len > MAXSIZE) {
if(!sockwouldblock(sockerrno))
logger(DEBUG_ALWAYS, LOG_ERR, "Receiving packet failed: %s [flags: %x]", sockstrerror(sockerrno), flags);
logger(DEBUG_ALWAYS, LOG_ERR, "Receiving packet failed: %s", sockstrerror(sockerrno));
return;
}
@ -1514,9 +1514,6 @@ skip_harder:
void handle_device_data(void *data, int flags) {
vpn_packet_t packet;
logger(DEBUG_TRAFFIC, LOG_INFO, "Handle device data at 0x%x flags 0x%x", data, flags);
packet.offset = DEFAULT_PACKET_OFFSET;
packet.priority = 0;