Changeset 10240
- Timestamp:
- Feb 20, 2010, 3:57:34 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cli/cli.c
r10084 r10240 411 411 '?' ) ? '&' : '?', 412 412 escaped ); 413 tr_ httpParseURL( scrape, -1, &host, NULL, NULL );413 tr_urlParse( scrape, -1, NULL, &host, NULL, NULL ); 414 414 ++leftToScrape; 415 415 -
trunk/gtk/tracker-list.c
r9868 r10240 19 19 20 20 #include <libtransmission/transmission.h> 21 #include <libtransmission/utils.h> /* tr_ httpIsValidURL*/21 #include <libtransmission/utils.h> /* tr_urlIsValidTracker() */ 22 22 23 23 #include "actions.h" … … 240 240 char * old_text; 241 241 gtk_tree_model_get( model, &iter, TR_COL_ANNOUNCE, &old_text, -1 ); 242 if( tr_ httpIsValidURL( new_text ) )242 if( tr_urlIsValidTracker( new_text ) ) 243 243 { 244 244 if( strcmp( old_text, new_text ) ) … … 250 250 } 251 251 } 252 else if( !tr_ httpIsValidURL( old_text ) )252 else if( !tr_urlIsValidTracker( old_text ) ) 253 253 { 254 254 /* both old and new are invalid... -
trunk/macosx/CreatorWindowController.m
r9844 r10240 25 25 #import "CreatorWindowController.h" 26 26 #import "NSStringAdditions.h" 27 #import "utils.h" //tr_ httpIsValidURL27 #import "utils.h" //tr_urlIsValidTracker 28 28 29 29 #define TRACKER_ADD_TAG 0 … … 126 126 for (NSInteger i = [fTrackers count]-1; i >= 0; i--) 127 127 { 128 if (!tr_ httpIsValidURL([[fTrackers objectAtIndex: i] UTF8String]))128 if (!tr_urlIsValidTracker([[fTrackers objectAtIndex: i] UTF8String])) 129 129 [fTrackers removeObjectAtIndex: i]; 130 130 } … … 305 305 tracker = [@"http://" stringByAppendingString: tracker]; 306 306 307 if (!tr_ httpIsValidURL([tracker UTF8String]))307 if (!tr_urlIsValidTracker([tracker UTF8String])) 308 308 { 309 309 NSBeep();
Note: See TracChangeset
for help on using the changeset viewer.