diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-25 16:40:49 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-25 16:40:49 +0000 |
commit | 9a5c5317195e58f1ce9e5517e6b0ef77e2f1c405 (patch) | |
tree | 51f870b8f5e08a9f848cf545e495589a90d21210 /mcast | |
parent | 2007-09-25 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | network-demos-9a5c5317195e58f1ce9e5517e6b0ef77e2f1c405.tar.bz2 |
2007-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* mcast.c: Remove warning.
Diffstat (limited to 'mcast')
-rw-r--r-- | mcast/ChangeLog | 4 | ||||
-rw-r--r-- | mcast/mcast.c | 2 |
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); |