summaryrefslogtreecommitdiff
path: root/mcast/mcast.c
diff options
context:
space:
mode:
Diffstat (limited to 'mcast/mcast.c')
-rw-r--r--mcast/mcast.c2
1 files changed, 1 insertions, 1 deletions
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);