diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-08-22 17:47:51 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-08-22 17:47:51 +0200 |
commit | ad4999488eadac3a10de99caf50b732af8b771b9 (patch) | |
tree | d3ffbbc2830b4bf2b520ae6b734d1c188d465be9 /src/peer.c | |
parent | 35a18b1dea21f006b38694dcf5c99f817411ad4d (diff) | |
download | fastd-ad4999488eadac3a10de99caf50b732af8b771b9.tar fastd-ad4999488eadac3a10de99caf50b732af8b771b9.zip |
Remove VECTOR_ALLOC
It is done automatically now if the VECTOR is zeroed before.
Diffstat (limited to 'src/peer.c')
-rw-r--r-- | src/peer.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -729,8 +729,6 @@ fastd_peer_t* fastd_peer_add(fastd_peer_config_t *peer_conf) { if (peer_conf) { peer->config = peer_conf; - VECTOR_ALLOC(peer->remotes, 0); - fastd_remote_config_t *remote_config; for (remote_config = peer_conf->remotes; remote_config; remote_config = remote_config->next) { fastd_remote_t remote = {.config = remote_config}; |