summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);