From: Jordan Lee Date: Fri, 18 Feb 2011 00:33:54 +0000 (+0000) Subject: make a note that we need to implement UTP_GetGlobalUTPBytesSent in libtransmission X-Git-Tag: 2.30b1~330 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9dca3380322b46b3351d32c3767838460e2c9c8f;p=transmission make a note that we need to implement UTP_GetGlobalUTPBytesSent in libtransmission --- diff --git a/third-party/libutp/utp_config.h b/third-party/libutp/utp_config.h index bc804ac69..7ee870ad4 100644 --- a/third-party/libutp/utp_config.h +++ b/third-party/libutp/utp_config.h @@ -4,6 +4,8 @@ #define DYNAMIC_PACKET_SIZE_FACTOR 2 // This should return the global number of bytes sent, used for determining dynamic // packet size based on rate + +#warning implement this in libtransmission uint64 UTP_GetGlobalUTPBytesSent(const struct sockaddr *remote, socklen_t remotelen) { return 0; } enum bandwidth_type_t {