summaryrefslogtreecommitdiff
path: root/testing/DHT_test.c
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-01-28 21:30:39 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-01-30 23:35:50 +0000
commit92ffad1a72bc8c422426d52ac408bd71242dd047 (patch)
treef592f353068dd2043525dd2cc04d6124a4ed4bc4 /testing/DHT_test.c
parent623e9ac331df7323660e21c8a2226523a5ee713b (diff)
Use nullptr as NULL pointer constant instead of NULL or 0.
This changes only code, no string literals or comments.
Diffstat (limited to 'testing/DHT_test.c')
-rw-r--r--testing/DHT_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/DHT_test.c b/testing/DHT_test.c
index c9d34238..c7db4092 100644
--- a/testing/DHT_test.c
+++ b/testing/DHT_test.c
@@ -190,7 +190,7 @@ int main(int argc, char *argv[])
190 IP ip; 190 IP ip;
191 ip_init(&ip, ipv6enabled); 191 ip_init(&ip, ipv6enabled);
192 192
193 DHT *dht = new_DHT(NULL, new_networking(NULL, ip, PORT), true); 193 DHT *dht = new_DHT(nullptr, new_networking(nullptr, ip, PORT), true);
194 printf("OUR ID: "); 194 printf("OUR ID: ");
195 uint32_t i; 195 uint32_t i;
196 196
@@ -252,7 +252,7 @@ int main(int argc, char *argv[])
252 } 252 }
253 253
254#endif 254#endif
255 networking_poll(dht_get_net(dht), NULL); 255 networking_poll(dht_get_net(dht), nullptr);
256 256
257 print_clientlist(dht); 257 print_clientlist(dht);
258 print_friendlist(dht); 258 print_friendlist(dht);