summaryrefslogtreecommitdiff
path: root/core/Messenger.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/Messenger.c')
-rw-r--r--core/Messenger.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/core/Messenger.c b/core/Messenger.c
index a7d21e1a..bc18c86a 100644
--- a/core/Messenger.c
+++ b/core/Messenger.c
@@ -517,10 +517,10 @@ int initMessenger(void)
517 if(init_networking(ip,PORT) == -1) 517 if(init_networking(ip,PORT) == -1)
518 return -1; 518 return -1;
519 519
520 DHT_init(); 520 DHT_init();
521 LosslessUDP_init(); 521 LosslessUDP_init();
522 friendreq_init(); 522 friendreq_init();
523 LANdiscovery_init(); 523 LANdiscovery_init();
524 524
525 return 0; 525 return 0;
526} 526}
@@ -688,14 +688,14 @@ static void LANdiscovery(void)
688/* the main loop that needs to be run at least 200 times per second. */ 688/* the main loop that needs to be run at least 200 times per second. */
689void doMessenger(void) 689void doMessenger(void)
690{ 690{
691 networking_poll(); 691 networking_poll();
692 692
693 doDHT(); 693 doDHT();
694 doLossless_UDP(); 694 doLossless_UDP();
695 doNetCrypto(); 695 doNetCrypto();
696 doInbound(); 696 doInbound();
697 doFriends(); 697 doFriends();
698 LANdiscovery(); 698 LANdiscovery();
699} 699}
700 700
701/* returns the size of the messenger data (for saving) */ 701/* returns the size of the messenger data (for saving) */