Omer Anson <oaan...@gmail.com> writes:

> diff --git a/src/hostname.c b/src/hostname.c
> index e6a90f7..84d0444 100644
> --- a/src/hostname.c
> +++ b/src/hostname.c
> @@ -416,5 +416,7 @@ parse_file (const char *const file_name)
>  
>    free (buffer);
>    fclose (file);
> +  if (name == NULL)
> +    error(EXIT_FAILURE, 0, "parse_file");

nit: space between 'error' and '('.

Regards,
Giuseppe

Reply via email to