Changeset 234

Show
Ignore:
Timestamp:
03/13/10 03:30:38 (2 years ago)
Author:
marek
Message:

ap51-flash: fix some minor glitches

Location:
ap51-flash/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • ap51-flash/trunk/missing-osx.h

    r223 r234  
    2929#define IPPORT_TFTP 69 
    3030 
    31 /*struct iphdr { 
     31struct iphdr { 
    3232        unsigned int ihl:4; 
    3333        unsigned int version:4; 
     
    4141        u_int32_t saddr; 
    4242        u_int32_t daddr; 
    43 };*/ 
     43}; 
    4444 
    4545struct udphdr { 
  • ap51-flash/trunk/packet.c

    r228 r234  
    310310 
    311311                                fprintf(stderr, "TFTP connection timeout .. \n"); 
    312                                 tftp_write_req(); 
     312                                ret = tftp_write_req(); 
    313313                                if (ret != 0) 
    314314                                        return ret;