pkg: fix off-by-one when parsing PKG_CONFIG_PATH data

feature/tap-sh
William Pitcock 2012-05-05 20:21:47 -05:00
parent 1ac3cbd4f9
commit 7f7ad67bb2
1 changed files with 1 additions and 1 deletions

2
pkg.c
View File

@ -55,7 +55,7 @@ path_split(const char *text, char ***parv)
} }
free(workbuf); free(workbuf);
return count + 1; return count;
} }
pkg_t * pkg_t *