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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user