(doit): check return value from parse_hdbflags2int correctly

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7953 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-02-16 16:05:28 +00:00
parent 155d74d37c
commit e8a871c631

View File

@@ -439,7 +439,7 @@ doit(const char *filename, int merge)
continue;
}
if (parse_hdbflags2int (&ent.flags, e.flags) != 0) {
if (parse_hdbflags2int (&ent.flags, e.flags) != 1) {
fprintf (stderr, "%s:%d:error parsing flags (%s)\n",
filename, line, e.flags);
hdb_free_entry (context, &ent);