summaryrefslogtreecommitdiff
path: root/other
diff options
context:
space:
mode:
authorMaxim Biro <nurupo.contributions@gmail.com>2014-10-12 23:31:20 -0400
committerMaxim Biro <nurupo.contributions@gmail.com>2014-10-12 23:31:20 -0400
commite677bbc89e208004a833873436931adca7359fef (patch)
tree127d359a474b53d15af5cf1be7ab6826d9ef9cfc /other
parent1200e69a3fb1619a19b78bf52e815095dfb705d4 (diff)
Fixed a typo
Diffstat (limited to 'other')
-rw-r--r--other/bootstrap_daemon/tox-bootstrapd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/other/bootstrap_daemon/tox-bootstrapd.c b/other/bootstrap_daemon/tox-bootstrapd.c
index 4cc1426e..40fbf62a 100644
--- a/other/bootstrap_daemon/tox-bootstrapd.c
+++ b/other/bootstrap_daemon/tox-bootstrapd.c
@@ -165,8 +165,8 @@ void parse_tcp_relay_ports_config(config_t *cfg, uint16_t **tcp_relay_ports, int
165 if ((*tcp_relay_port_count) > 0) { 165 if ((*tcp_relay_port_count) > 0) {
166 *tcp_relay_ports = realloc(*tcp_relay_ports, (*tcp_relay_port_count) * sizeof(uint16_t)); 166 *tcp_relay_ports = realloc(*tcp_relay_ports, (*tcp_relay_port_count) * sizeof(uint16_t));
167 } else { 167 } else {
168 free(*tcp_relay_port); 168 free(*tcp_relay_ports);
169 *tcp_relay_port = NULL; 169 *tcp_relay_ports = NULL;
170 } 170 }
171 171
172 return; 172 return;
@@ -219,8 +219,8 @@ void parse_tcp_relay_ports_config(config_t *cfg, uint16_t **tcp_relay_ports, int
219 if ((*tcp_relay_port_count) > 0) { 219 if ((*tcp_relay_port_count) > 0) {
220 *tcp_relay_ports = realloc(*tcp_relay_ports, (*tcp_relay_port_count) * sizeof(uint16_t)); 220 *tcp_relay_ports = realloc(*tcp_relay_ports, (*tcp_relay_port_count) * sizeof(uint16_t));
221 } else { 221 } else {
222 free(*tcp_relay_port); 222 free(*tcp_relay_ports);
223 *tcp_relay_port = NULL; 223 *tcp_relay_ports = NULL;
224 } 224 }
225} 225}
226 226