summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2010-11-26 21:52:38 +0000
committerChristian Pointner <equinox@anytun.org>2010-11-26 21:52:38 +0000
commit2c35350ff4b740086ef239a40cd27e0dcf2cbab4 (patch)
tree91c5cb9cbd4a54547625c5ce8fb45944f0400356 /src
parentfixed typo (diff)
fixed bugged in udp_endpoint_to_string
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)