summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-09-25 16:40:49 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-09-25 16:40:49 +0000
commit9a5c5317195e58f1ce9e5517e6b0ef77e2f1c405 (patch)
tree51f870b8f5e08a9f848cf545e495589a90d21210
parent12e60d3ac4cc4611e07d81a94256c579e65e91a5 (diff)
2007-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* mcast.c: Remove warning.
-rw-r--r--mcast/ChangeLog4
-rw-r--r--mcast/mcast.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/mcast/ChangeLog b/mcast/ChangeLog
index 3bb0fec..52db617 100644
--- a/mcast/ChangeLog
+++ b/mcast/ChangeLog
@@ -1,3 +1,7 @@
+2007-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * mcast.c: Remove warning.
+
2007-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* .cvsignore: New file.
diff --git a/mcast/mcast.c b/mcast/mcast.c
index c1becc5..87c0517 100644
--- a/mcast/mcast.c
+++ b/mcast/mcast.c
@@ -85,7 +85,7 @@ int main(int ac, char **av)
perror("gethostname");
exit(1);
}
- printf( "Hostname: %s\n", ((mhost) ? mhost : "NULL") );
+ printf( "Hostname: %s\n", mhost );
if (!(h = gethostbyname(mhost))) { // Get host entry
perror("gethostbyname");
exit(1);