]> granicus.if.org Git - transmission/commitdiff
Fix typo.
authorJuliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
Fri, 18 Feb 2011 00:35:54 +0000 (00:35 +0000)
committerJuliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
Fri, 18 Feb 2011 00:35:54 +0000 (00:35 +0000)
libtransmission/tr-udp.c

index 5ae19009a7d2b735236fc3d68ad516797801279f..5f896c48fdcd8fd83330e11cad6680a97bfbfc36 100644 (file)
@@ -139,7 +139,7 @@ event_callback(int s, short type UNUSED, void *sv)
         /* DHT packet. */
         buf[rc] = '\0';
         tr_dhtCallback(buf, rc, (struct sockaddr*)&from, fromlen, sv);
-    } else if(tr_sessionIsDHTEnabled(ss)){
+    } else if(tr_sessionIsUTPEnabled(ss)){
         rc = tr_utpPacket(buf, rc, (struct sockaddr*)&from, fromlen, ss);
         if(!rc)
             tr_ndbg("UDP", "Unexpected UDP packet");