View | Details | Raw Unified | Return to bug 42422
Collapse All | Expand All

(-)lib/libc/db/hash/ndbm.c (-6 / +1 lines)
Lines 164-179 Link Here
164
	DBM *db;
164
	DBM *db;
165
	datum key;
165
	datum key;
166
{
166
{
167
	int status;
168
	DBT dbtkey;
167
	DBT dbtkey;
169
168
170
	dbtkey.data = key.dptr;
169
	dbtkey.data = key.dptr;
171
	dbtkey.size = key.dsize;
170
	dbtkey.size = key.dsize;
172
	status = (db->del)(db, &dbtkey, 0);
171
	return ((db->del)(db, &dbtkey, 0));
173
	if (status)
174
		return (-1);
175
	else
176
		return (0);
177
}
172
}
178
173
179
/*
174
/*

Return to bug 42422