diff options
author | irungentoo <irungentoo@gmail.com> | 2013-07-17 15:10:52 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-07-17 15:10:52 -0400 |
commit | 817ad50d9640b8ccce3636a00f732245ff09d38c (patch) | |
tree | f4d0666c1b025cdaf77be67ccbb395f453415a75 /core/DHT.c | |
parent | f27b5c9296c51d6d7c52fa1a483ac92fb097562f (diff) |
Fixed small mistake (Thank you stal).
Diffstat (limited to 'core/DHT.c')
-rw-r--r-- | core/DHT.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -781,7 +781,7 @@ int DHT_delfriend(uint8_t * client_id) | |||
781 | { | 781 | { |
782 | memcpy(friends_list[i].client_id, friends_list[num_friends].client_id, CLIENT_ID_SIZE); | 782 | memcpy(friends_list[i].client_id, friends_list[num_friends].client_id, CLIENT_ID_SIZE); |
783 | } | 783 | } |
784 | temp = realloc(friends_list, sizeof(friends_list) * (num_friends)); | 784 | temp = realloc(friends_list, sizeof(Friend) * (num_friends)); |
785 | if(temp != NULL) | 785 | if(temp != NULL) |
786 | { | 786 | { |
787 | friends_list = temp; | 787 | friends_list = temp; |