Patches from Robert Scheck <robert@fedoraproject.org>

* enable building iftop with more recent versions of autoconf/automake
* patch to remove compile time warnings (mostly already applied).
This commit is contained in:
pdw
2014-01-19 20:11:39 +00:00
parent 40add9566d
commit 687861284d
7 changed files with 21 additions and 175 deletions

View File

@@ -107,10 +107,10 @@ char *do_resolve(struct addr_storage *addr) {
* a non thread-safe wrapper to gethostbyaddr. An interesting choice...
*/
char* do_resolve(struct addr_storage *addr) {
struct hostent hostbuf, *hp;
struct hostent hostbuf, *hp = NULL;
size_t hstbuflen = 1024;
char *tmphstbuf;
int res;
int res = 0;
int herr;
char * ret = NULL;