Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-03-10 01:38:09 +0300
committerChristopher Faylor <me@cgf.cx>2005-03-10 01:38:09 +0300
commit8b7de010ab664867b529415a0167047d1437b883 (patch)
tree8dceac1c113f68ef7d5b11da89dca770ba1f554f
parentfa4b5b03c099874588435898e450f9bd70354bd7 (diff)
* net.cc (dup_ent): Revert previous stupid change.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/net.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index d664f1c2d..a7c6e409f 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -6,6 +6,10 @@
2005-03-09 Christopher Faylor <cgf@timesys.com>
+ * net.cc (dup_ent): Revert previous stupid change.
+
+2005-03-09 Christopher Faylor <cgf@timesys.com>
+
* net.cc (dup_ent): Avoid dereferencing a null pointer in a debug_printf.
2005-03-09 Christopher Faylor <cgf@timesys.com>
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc
index ed52807d6..3fee9eb91 100644
--- a/winsup/cygwin/net.cc
+++ b/winsup/cygwin/net.cc
@@ -389,7 +389,7 @@ dup_ent (void *old, void *src0, struct_type type)
if (old)
{
debug_printf ("freeing old %sent structure \"%s\" %p\n", entnames[type],
- old ? ((unionent *) old)->name : "<null!>", old);
+ ((unionent *) old)->name, old);
free (old);
}