Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ticket #270: ticket270.patch

File ticket270.patch, 2.1 KB (added by Petr Koupy, 8 years ago)
  • uspace/srv/net/tl/udp/udp.c

    # Bazaar merge directive format 2 (Bazaar 0.90)
    # revision_id: petr.koupy@gmail.com-20110328035231-4b9d1j0g8ye95sh0
    # target_branch: bzr://bzr.helenos.org/mainline
    # testament_sha1: 1af9148a4886b25b80a5a4f575bf98f202ee95f4
    # timestamp: 2011-03-28 05:54:33 +0200
    # base_revision_id: jakub@jermar.eu-20110326152906-4nqf7cc7vwgs62cc
    # 
    # Begin patch
    === modified file 'uspace/srv/net/tl/udp/udp.c'
     
    499499        device_id_t device_id;
    500500        packet_dimension_t *packet_dimension;
    501501        int rc;
     502
     503        data_fragment_size = 0;
    502504       
    503505        rc = tl_get_address_port(addr, addrlen, &dest_port);
    504506        if (rc != EOK)
     
    739741        struct sockaddr *addr;
    740742        int socket_id;
    741743        size_t addrlen;
    742         size_t size = 0;
     744        size_t size;
    743745        ipc_call_t answer;
    744746        size_t answer_count;
    745747        packet_dimension_t *packet_dimension;