]> granicus.if.org Git - transmission/commitdiff
Reinstate a variable removed by r11810.
authorJuliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
Fri, 18 Feb 2011 00:43:54 +0000 (00:43 +0000)
committerJuliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
Fri, 18 Feb 2011 00:43:54 +0000 (00:43 +0000)
libtransmission/tr-udp.c

index 5dfef00937258c2faa9bee158b34c509236fb931..751f14758e57c273f15514cb192fe098492cd265 100644 (file)
@@ -186,6 +186,7 @@ rebind_ipv6(tr_session *ss, tr_bool force)
 static void
 event_callback(int s, short type UNUSED, void *sv)
 {
+    tr_session *ss = (tr_session*)sv;
     unsigned char *buf;
     struct sockaddr_storage from;
     socklen_t fromlen;