* net.cc (dup_ent): Revert previous stupid change.
This commit is contained in:
parent
fa4b5b03c0
commit
8b7de010ab
|
@ -4,6 +4,10 @@
|
||||||
(handle_sigprocmask): Ditto. Check "how" for being a valid "how" value.
|
(handle_sigprocmask): Ditto. Check "how" for being a valid "how" value.
|
||||||
Fix call order in case of wrong "how" value.
|
Fix call order in case of wrong "how" value.
|
||||||
|
|
||||||
|
2005-03-09 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* net.cc (dup_ent): Revert previous stupid change.
|
||||||
|
|
||||||
2005-03-09 Christopher Faylor <cgf@timesys.com>
|
2005-03-09 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* net.cc (dup_ent): Avoid dereferencing a null pointer in a debug_printf.
|
* net.cc (dup_ent): Avoid dereferencing a null pointer in a debug_printf.
|
||||||
|
|
|
@ -389,7 +389,7 @@ dup_ent (void *old, void *src0, struct_type type)
|
||||||
if (old)
|
if (old)
|
||||||
{
|
{
|
||||||
debug_printf ("freeing old %sent structure \"%s\" %p\n", entnames[type],
|
debug_printf ("freeing old %sent structure \"%s\" %p\n", entnames[type],
|
||||||
old ? ((unionent *) old)->name : "<null!>", old);
|
((unionent *) old)->name, old);
|
||||||
free (old);
|
free (old);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue