Changeset 14565


Ignore:
Timestamp:
Oct 4, 2015, 4:53:18 AM (5 years ago)
Author:
mikedld
Message:

#6003: Update to miniupnpc api 14 (slightly modified patch by infirit)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/upnp.c

    r14525 r14565  
    8989#if (MINIUPNPC_API_VERSION >= 8) /* adds ipv6 and error args */
    9090  int err = UPNPDISCOVER_SUCCESS;
     91 #if (MINIUPNPC_API_VERSION >= 14) /* adds ttl */
     92  ret = upnpDiscover (msec, NULL, NULL, 0, 0, 2, &err);
     93 #else
    9194  ret = upnpDiscover (msec, NULL, NULL, 0, 0, &err);
     95 #endif
    9296  have_err = err != UPNPDISCOVER_SUCCESS;
    9397#else
Note: See TracChangeset for help on using the changeset viewer.