Changeset 4597
- Timestamp:
- Jan 10, 2008, 6:52:46 PM (14 years ago)
- Location:
- trunk/libtransmission
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/crypto.c
r4404 r4597 16 16 #include <string.h> /* memcpy */ 17 17 #include <stdarg.h> 18 #include <netinet/in.h> /* struct in_addr */19 18 20 19 #include <openssl/bn.h> -
trunk/libtransmission/peer-mgr-private.h
r4580 r4597 15 15 16 16 #include <inttypes.h> /* uint16_t */ 17 18 #ifdef WIN32 19 #include <winsock2.h> /* struct in_addr */ 20 #else 17 21 #include <netinet/in.h> /* struct in_addr */ 22 #endif 23 18 24 #include "publish.h" /* tr_publisher_tag */ 19 25 -
trunk/libtransmission/peer-mgr.c
r4586 r4597 18 18 19 19 #include <libgen.h> /* basename */ 20 #include <arpa/inet.h> /* inet_ntoa */21 20 22 21 #include <event.h> … … 743 742 walk += reqCount[s]; 744 743 } 745 assert( ( walk - ret ) == blockCount );744 assert( ( walk - ret ) == ( int )blockCount ); 746 745 *setmeCount = blockCount; 747 746 -
trunk/libtransmission/peer-mgr.h
r4556 r4597 15 15 16 16 #include <inttypes.h> /* uint16_t */ 17 18 #ifdef WIN32 19 #include <winsock2.h> /* struct in_addr */ 20 #else 17 21 #include <netinet/in.h> /* struct in_addr */ 22 #endif 18 23 19 24 struct in_addr; -
trunk/libtransmission/peer-msgs.c
r4582 r4597 17 17 #include <string.h> 18 18 #include <libgen.h> /* basename */ 19 20 #include <netinet/in.h> /* struct in_addr */21 19 22 20 #include <event.h> -
trunk/libtransmission/shared.c
r4431 r4597 23 23 *****************************************************************************/ 24 24 25 #include <errno.h> 25 26 #include <string.h> 26 27 #include <stdio.h> -
trunk/libtransmission/tracker.c
r4539 r4597 17 17 #include <libgen.h> /* basename */ 18 18 19 #include <sys/queue.h> /* evhttp.h needs this */20 19 #include <event.h> 21 20 #include <evhttp.h> -
trunk/libtransmission/trevent.c
r4404 r4597 18 18 19 19 #include <signal.h> 20 #include <sys/queue.h> /* for evhttp */21 #include <sys/types.h> /* for evhttp */22 20 23 21 #include <event.h> -
trunk/libtransmission/utils.c
r4482 r4597 95 95 gettimeofday( &tv, NULL ); 96 96 97 #ifdef WIN32 98 now_tm = *localtime( &now ); 99 #else 97 100 localtime_r( &now, &now_tm ); 101 #endif 102 98 103 strftime( tmp, sizeof(tmp), "%H:%M:%S", &now_tm ); 99 104 milliseconds = (int)(tv.tv_usec / 1000);
Note: See TracChangeset
for help on using the changeset viewer.