Skip to content

Commit

Permalink
thou shall not modify returns
Browse files Browse the repository at this point in the history
  • Loading branch information
imilh committed Sep 2, 2011
1 parent 2c5f99b commit aed5e2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sqlite_callbacks.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $Id: sqlite_callbacks.c,v 1.4 2011/08/30 17:02:01 imilh Exp $ */
/* $Id: sqlite_callbacks.c,v 1.5 2011/09/02 09:04:39 imilh Exp $ */

/*
* Copyright (c) 2009, 2010, 2011 The NetBSD Foundation, Inc.
Expand Down Expand Up @@ -119,7 +119,7 @@ pdb_rec_depends(void *param, int argc, char **argv, char **colname)
if (strcmp(DEPS_PKGNAME, pdp->name) == 0) {
TRACE(" < dependency %s already recorded\n", pdp->name);
/* proceed to next result */
return PDB_ERR;
return PDB_OK;
}

deptree = malloc_pkglist(DEPTREE);
Expand Down

0 comments on commit aed5e2a

Please sign in to comment.