Skip to content

Commit

Permalink
Revert "Fix #535"
Browse files Browse the repository at this point in the history
This reverts commit 439f676.
  • Loading branch information
nurupo committed Apr 22, 2017
1 parent f6285d7 commit 5ed37e5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion toxcore/TCP_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ enum {
};
typedef struct {
uint8_t status;
Socket sock;
Socket sock;
#ifdef HAVE_LIBEV
struct {
ev_io listener;
Expand Down
2 changes: 0 additions & 2 deletions toxcore/network.c
Original file line number Diff line number Diff line change
Expand Up @@ -674,8 +674,6 @@ Networking_Core *new_networking_ex(Logger *log, IP ip, uint16_t port_from, uint1
struct sockaddr_storage addr;
size_t addrsize;

memset(&addr, 0, sizeof(struct sockaddr_storage));

if (temp->family == AF_INET) {
struct sockaddr_in *addr4 = (struct sockaddr_in *)&addr;

Expand Down

1 comment on commit 5ed37e5

@vassad
Copy link

@vassad vassad commented on 5ed37e5 Apr 26, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are here all that reverts about tox_loop?

Please sign in to comment.