diff options
Diffstat (limited to 'hesiod')
-rw-r--r-- | hesiod/hesiod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hesiod/hesiod.c b/hesiod/hesiod.c index ffae611..998802d 100644 --- a/hesiod/hesiod.c +++ b/hesiod/hesiod.c @@ -255,7 +255,7 @@ read_config_file (struct hesiod_p *ctx, const char *filename) /* Try to open the configuration file. */ fp = fopen (filename, "r"); - if (fp = NULL) + if (fp == NULL) { /* Use compiled in default domain names. */ ctx->lhs = malloc (strlen (DEF_LHS) + 1); |