Changeset 11661


Ignore:
Timestamp:
Jan 9, 2011, 11:04:56 PM (11 years ago)
Author:
jch
Message:

Fix UDP error handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tr-udp.c

    r11659 r11661  
    175175        event_new(NULL, ss->udp_socket, EV_READ | EV_PERSIST,
    176176                  event_callback, ss);
    177     tr_nerr("UDP", "Couldn't allocate IPv4 event");
    178     /* Don't bother recovering for now. */
     177    if( ss->udp_event == NULL )
     178        tr_nerr("UDP", "Couldn't allocate IPv4 event");
    179179
    180180 ipv6:
Note: See TracChangeset for help on using the changeset viewer.