12345678910111213 |
- --- ctorrent-dnh3.3.2.orig/compat.c 2008-06-15 02:00:19.000000000 +0200
- +++ ctorrent-dnh3.3.2/compat.c 2014-01-02 18:21:09.000000000 +0100
- @@ -67,8 +67,8 @@ int snprintf(char *str, size_t size, con
- char *strnstr(const char *haystack, const char *needle, size_t haystacklen)
- {
- char *p;
- - ssize_t plen;
- - ssize_t len = strlen(needle);
- + size_t plen;
- + size_t len = strlen(needle);
-
- if( *needle == '\0' )
- return (char *)haystack;
|