(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:
@@ -439,7 +439,7 @@ doit(const char *filename, int merge)
|
|||||||
continue;
|
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",
|
fprintf (stderr, "%s:%d:error parsing flags (%s)\n",
|
||||||
filename, line, e.flags);
|
filename, line, e.flags);
|
||||||
hdb_free_entry (context, &ent);
|
hdb_free_entry (context, &ent);
|
||||||
|
Reference in New Issue
Block a user