summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c
index 0af0d17..96a265a 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -305,7 +305,7 @@ static void listen_bind_one(ot_listen *entry) {
305 305
306#ifdef _DEBUG 306#ifdef _DEBUG
307 { 307 {
308 char *protos[] = {"TCP", "UDP", "UDP mcast"}; 308 const char *protos[] = {"TCP", "UDP", "UDP mcast"};
309 char _debug[512]; 309 char _debug[512];
310 int off = snprintf(_debug, sizeof(_debug), "Binding socket type %s to address [", protos[entry->proto]); 310 int off = snprintf(_debug, sizeof(_debug), "Binding socket type %s to address [", protos[entry->proto]);
311 off += ip_format(_debug + off, entry->ip); 311 off += ip_format(_debug + off, entry->ip);