All pastes #920348 Raw Edit

Miscellany

public text v1 · immutable
#920348 ·published 2008-02-27 11:25 UTC
rendered paste body
--- /Users/main/Desktop/clients.c	2008-02-19 17:57:54.000000000 +0100
+++ /Users/main/Desktop/clients2.c	2008-02-27 12:23:16.000000000 +0100
@@ -260,6 +260,11 @@
         {
             tr_asprintf( &ret, "LimeWire" );
         }
+        else if( !memcmp( &id[1], "XL", 2 ) )
+	    {
+	        tr_asprintf( &ret, "Xunlei %c.%c.%c.%c",
+	                  id[3], id[4], id[5], id[6] );
+	    }
         
         if( ret )
         {