Skip to content

Commit

Permalink
Dont use search db when doing partial name search
Browse files Browse the repository at this point in the history
  • Loading branch information
franklahm committed Feb 24, 2012
1 parent ae3cd33 commit b3f8a44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etc/afpd/catsearch.c
Original file line number Diff line number Diff line change
Expand Up @@ -1047,6 +1047,7 @@ static int catsearch_afp(AFPObj *obj _U_, char *ibuf, size_t ibuflen,
/* Call search */
*rbuflen = 24;
if ((c1.rbitmap & (1 << FILPBIT_PDINFO))
&& !(c1.rbitmap & (1<<CATPBIT_PARTIAL))
&& (strcmp(vol->v_cnidscheme, "dbd") == 0)
&& (vol->v_flags & AFPVOL_SEARCHDB))
/* we've got a name and it's a dbd volume, so search CNID database */
Expand Down

0 comments on commit b3f8a44

Please # to comment.