Ignore:
Timestamp:
Dec 20, 2016, 4:07:32 PM (7 years ago)
Author:
Bruno Cornec
Message:

New 3?3 banch for incorporation of latest busybox 1.25. Changing minor version to handle potential incompatibilities.

Location:
branches/3.3
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi-busybox/networking/nbd-client.c

    r3232 r3621  
    5858        char data[124];
    5959    } nbd_header;
    60     struct bug_check {
    61         char c[offsetof(struct nbd_header_t, data) == 8+8+8+4 ? 1 : -1];
    62     };
     60
     61    BUILD_BUG_ON(offsetof(struct nbd_header_t, data) != 8+8+8+4);
    6362
    6463    // Parse command line stuff (just a stub now)
     
    8483        // Find and connect to server
    8584        sock = create_and_connect_stream_or_die(host, xatou16(port));
    86         setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, &const_int_1, sizeof(const_int_1));
     85        setsockopt_1(sock, IPPROTO_TCP, TCP_NODELAY);
    8786
    8887        // Log on to the server
Note: See TracChangeset for help on using the changeset viewer.