summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udp.c b/src/udp.c
index 3e1def6..8d9bf52 100644
--- a/src/udp.c
+++ b/src/udp.c
@@ -258,7 +258,7 @@ char* udp_endpoint_to_string(udp_endpoint_t e)
break;
default:
asprintf(&ret, "unknown address type");
- return ;
+ return ret;
}
addrstr = malloc(addrstr_len);
if(!addrstr)