mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
(gtk) use portcheck.transmissionbt.com
This commit is contained in:
parent
d718f410fc
commit
f3e0b8e434
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ test_port( gpointer l )
|
||||||
char url[256];
|
char url[256];
|
||||||
|
|
||||||
g_usleep( G_USEC_PER_SEC * 3 ); /* give portmapping time to kick in */
|
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 );
|
text = miniwget( url, &size );
|
||||||
/*g_message(" got len %d, [%*.*s]", size, size, size, text );*/
|
/*g_message(" got len %d, [%*.*s]", size, size, size, text );*/
|
||||||
isOpen = text && *text=='1';
|
isOpen = text && *text=='1';
|
||||||
|
|
Loading…
Reference in a new issue