From a3ef56ff0b560e41c4d3d2e8175faf890af87dfa Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Tue, 6 Sep 2011 20:44:56 +0000 Subject: [PATCH] fix bug in Symbian UDP socket (init err to 0) --- src/udp/symbian/udp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/udp/symbian/udp.cpp b/src/udp/symbian/udp.cpp index f99abc6..bd448e5 100644 --- a/src/udp/symbian/udp.cpp +++ b/src/udp/symbian/udp.cpp @@ -194,7 +194,7 @@ int udp_sock::send(const struct sa *dst, struct mbuf *mb) { struct sa hdst; TRequestStatus stat; - int err; + int err = 0; DEBUG_INFO("udp_sock::send %u bytes to %J\n", mbuf_get_left(mb), dst);