Adium

Changeset 25604

Show
Ignore:
Timestamp:
11/20/2008 04:16:40 AM (2 months ago)
Author:
catfish_man
Message:

More warnings fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Plugins/Bonjour/libezv/Classes/EKEzvFileTransfer.m

    r25603 r25604  
    11#import "EKEzvFileTransfer.h" 
    22#import "EKEzvIncomingFileTransfer.h" 
     3#import "EKEzvOutgoingFileTransfer.h" 
    34 
    45@implementation EKEzvFileTransfer 
  • trunk/Plugins/Bonjour/libezv/Classes/EKEzvIncomingFileTransfer.m

    r25603 r25604  
    279279        return YES; 
    280280} 
    281 - (void)downloadURL:(NSURL *)url toPath:(NSString *)path 
     281- (void)downloadURL:(NSURL *)downloadURL toPath:(NSString *)path 
    282282{ 
    283283        /* This should be easy.  We have a url and a location so let's download things to a location! */ 
    284284 
    285         NSMutableURLRequest *theRequest=[NSMutableURLRequest requestWithURL:url cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:60.0]; 
     285        NSMutableURLRequest *theRequest=[NSMutableURLRequest requestWithURL:downloadURL cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:60.0]; 
    286286        NSString *value = [NSString stringWithString:@"AppleSingle"]; 
    287287        [theRequest addValue:value forHTTPHeaderField:@"Accept-Encoding"]; 
  • trunk/Plugins/Bonjour/libezv/Private Classes/AWEzvContactManagerRendezvous.m

    r25600 r25604  
    884884                        //Try to accept(2) a connection. May be the cause of a hang on Tiger; see #7887. 
    885885                        int socketFD = CFSocketGetNative(s); 
    886                         int childFD = accept(s, /*addr*/ NULL, /*addrlen*/ NULL); 
     886                        int childFD = accept(socketFD, /*addr*/ NULL, /*addrlen*/ NULL); 
    887887                        AILog(@"%@: Service ref %p received an unknown error with no data; perhaps mDNSResponder crashed? Result of calling accept(2) on fd %d is %d; will disconnect with error", 
    888888                                  self, [self serviceRef], socketFD, childFD); 
  • trunk/Plugins/Bonjour/libezv/Private Classes/AWEzvRendezvousData.m

    r25598 r25604  
    487487        DNSServiceErrorType txtRecordError; 
    488488        id value; 
    489         char *valueToSet; 
     489        const char *valueToSet; 
    490490        uint8_t valueSize; 
    491491        TXTRecordCreate(/* TXTRecordRef */ &txtRecord, /* buffer length */ 0, /* buffer */ NULL); 
  • trunk/Plugins/Bonjour/libezv/Simple HTTP Server/AsyncSocket.m

    r25599 r25604  
    100100 
    101101// Callbacks 
    102 - (void) doCFCallback:(CFSocketCallBackType)type forSocket:(CFSocketRef)sock withAddress:(NSData *)address withData:(const void *)pData; 
    103102- (void) doCFReadStreamCallback:(CFStreamEventType)type forStream:(CFReadStreamRef)stream; 
    104103- (void) doCFWriteStreamCallback:(CFStreamEventType)type forStream:(CFWriteStreamRef)stream;