1
0
Fork 0

changed port to be an int rather than an NSInteger*

master
Spike Grobstein 14 years ago
parent 720112a9cb
commit 0ef2a69fb7

@ -27,7 +27,7 @@
//SEL errorCallback;
}
- (id) initWithHostname:(NSString*)new_hostname port:(NSInteger*)new_port username:(NSString*)new_username password:(NSString*)new_password;
- (id) initWithHostname:(NSString*)new_hostname port:(int)new_port username:(NSString*)new_username password:(NSString*)new_password;
- (NSMutableURLRequest*) buildRequest:(NSString*)uri;
- (NSMutableURLRequest*) requestForBandwidthViewerForInterface:(NSString*)interface;
@ -36,8 +36,8 @@
- (NSString*) getHostname;
- (void) setHostname:(NSString*)new_hostname;
- (NSInteger*) getPort;
- (void) setPort:(NSInteger*)new_port;
- (int) getPort;
- (void) setPort:(int)new_port;
- (NSString*) getUsername;
- (void) setUsername:(NSString*)new_username;

@ -11,7 +11,7 @@
@implementation WRTStatusClient
- (id) initWithHostname:(NSString*)new_hostname port:(NSInteger*)new_port username:(NSString*)new_username password:(NSString*)new_password
- (id) initWithHostname:(NSString*)new_hostname port:(int)new_port username:(NSString*)new_username password:(NSString*)new_password
{
self = [super init];

Loading…
Cancel
Save