Show
Ignore:
Timestamp:
09/30/08 05:27:40 (5 years ago)
Author:
wichert
Message:

Clean up compiler warnings

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog/src/wdctl.c

    r901 r1373  
    4747static void parse_commandline(int, char **); 
    4848static int connect_to_server(char *); 
    49 static int send_request(int, char *); 
     49static size_t send_request(int, char *); 
    5050static void wdctl_status(void); 
    5151static void wdctl_stop(void); 
     
    167167} 
    168168 
    169 static int 
     169static size_t 
    170170send_request(int sock, char *request) 
    171171{ 
    172         ssize_t len, 
    173                 written; 
     172        size_t  len; 
     173        ssize_t written; 
    174174                 
    175175        len = 0; 
     
    184184        } 
    185185 
    186         return((int)len); 
     186        return len; 
    187187} 
    188188 
     
    239239        char    buffer[4096]; 
    240240        char    request[64]; 
    241         int     len, 
    242                 rlen; 
     241        size_t  len; 
     242        int     rlen; 
    243243 
    244244        sock = connect_to_server(config.socket);