summaryrefslogtreecommitdiff
path: root/toxcore/tox.c
diff options
context:
space:
mode:
authorsaneki <fake.saneki@gmail.com>2014-09-12 12:21:17 -0500
committersaneki <fake.saneki@gmail.com>2014-09-12 12:21:17 -0500
commit27369ac76278aace29b52eb5523af80f3d9a1880 (patch)
treec74d4c0921088547fbbba9fae3ebade1de6ec88f /toxcore/tox.c
parent98a93c7880dfc4ce0e1466dae3d1757df580378b (diff)
Removed tox_connect, initial connections are made on first tox_do
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r--toxcore/tox.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c
index 73bbe1c6..b2aadd39 100644
--- a/toxcore/tox.c
+++ b/toxcore/tox.c
@@ -928,10 +928,3 @@ int tox_load(Tox *tox, const uint8_t *data, uint32_t length)
928 Messenger *m = tox; 928 Messenger *m = tox;
929 return messenger_load(m, data, length); 929 return messenger_load(m, data, length);
930} 930}
931
932/* Connect after loading the messenger from file */
933int tox_connect(Tox *tox)
934{
935 Messenger *m = tox;
936 return messenger_connect(m);
937}