1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00

(gtk) use portcheck.transmissionbt.com

This commit is contained in:
Charles Kerr 2008-02-07 12:36:33 +00:00
parent d718f410fc
commit f3e0b8e434

View file

@ -227,7 +227,7 @@ test_port( gpointer l )
char url[256];
g_usleep( G_USEC_PER_SEC * 3 ); /* give portmapping time to kick in */
snprintf( url, sizeof(url), "http://www.transmissionbt.com/PortCheck.php?port=%d", port );
snprintf( url, sizeof(url), "http://portcheck.transmissionbt.com/%d", port );
text = miniwget( url, &size );
/*g_message(" got len %d, [%*.*s]", size, size, size, text );*/
isOpen = text && *text=='1';