1.37b: NULL ptr with -F fixed.

This commit is contained in:
Steve Pinkham 2010-06-15 15:44:36 -04:00
parent 822e4f67e1
commit 30aa479d14
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Version 1.37b:
--------------
- NULL ptr with -F fixed.
Version 1.36b:
--------------

View File

@ -23,7 +23,7 @@
#ifndef _HAVE_CONFIG_H
#define _HAVE_CONFIG_H
#define VERSION "1.36b"
#define VERSION "1.37b"
#define USE_COLOR 1 /* Use terminal colors */

View File

@ -812,7 +812,7 @@ dns_got_name:
/* Creates an ad hoc DNS cache entry, to override NS lookups. */
void fake_host(u8* name, u32 addr) {
struct dns_entry *d = dns, *prev = 0;
struct dns_entry *d = dns, *prev = dns;
while (d && d->next) { prev = d ; d = d->next;}