Skip to content

Commit

Permalink
fix bad vtimer_now call
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Mehlis committed Jun 16, 2013
1 parent 79d5576 commit 1fcc5c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sys/net/destiny/socket.c
Expand Up @@ -558,8 +558,7 @@ int connect(int socket, sockaddr6_t *addr, uint32_t addrlen)
msg_from_server.type = UNDEFINED;

// Remember current time
timex_t now;
vtimer_now(&now)
vtimer_now(&now);
current_tcp_socket->tcp_control.last_packet_time = now;
current_tcp_socket->tcp_control.no_of_retries = 0;

Expand Down

0 comments on commit 1fcc5c8

Please sign in to comment.