Skip to content

Commit

Permalink
Api fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
irungentoo committed Mar 18, 2015
1 parent 85474ef commit 9bf4f96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.c
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ void tox_thread(void *UNUSED(args))
tox_iterate(tox);

// Check currents connection
if(!!tox_get_connection_status(tox) != connected) {
if(!!tox_self_get_connection_status(tox) != connected) {
connected = !connected;
postmessage(DHT_CONNECTED, connected, 0, NULL);

Expand Down

0 comments on commit 9bf4f96

Please sign in to comment.