(util_localname): Minor fix
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -1004,7 +1004,7 @@ util_localname () | ... | @@ -1004,7 +1004,7 @@ util_localname () |
1004 | name_len *= 2; | 1004 | name_len *= 2; |
1005 | name = realloc (name, name_len); | 1005 | name = realloc (name, name_len); |
1006 | } | 1006 | } |
1007 | if (status) | 1007 | if (status || name == NULL) |
1008 | { | 1008 | { |
1009 | mu_diag_output (MU_DIAG_CRIT, _("Cannot find out my own hostname")); | 1009 | mu_diag_output (MU_DIAG_CRIT, _("Cannot find out my own hostname")); |
1010 | exit (EX_OSERR); | 1010 | exit (EX_OSERR); | ... | ... |
-
Please register or sign in to post a comment