Ignore:
Timestamp:
Feb 18, 2011, 4:01:52 PM (11 years ago)
Author:
jch
Message:

Stub out UTP_Create in non-uTP builds.

File:
1 edited

Legend:

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

    r11963 r11971  
    7575                 const struct sockaddr *from UNUSED, socklen_t fromlen UNUSED,
    7676                 tr_session *ss UNUSED) { return -1; }
     77
     78struct UTPSocket *UTP_Create(SendToProc *send_to_proc UNUSED,
     79                             void *send_to_userdata UNUSED,
     80                             const struct sockaddr *addr UNUSED,
     81                             socklen_t addrlen UNUSED)
     82{
     83    errno = ENOSYS;
     84    return NULL;
     85}
    7786
    7887void tr_utpClose( tr_session * ss UNUSED ) { }
Note: See TracChangeset for help on using the changeset viewer.