Fix a 0 and '/0' switch

It looks like someone accidentally put a 0 instead of '/0', this fixes it.

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2007-03-29 00:57:04 -04:00
parent bbe55b5ce9
commit d6d7435a6c
1 changed files with 1 additions and 1 deletions

View File

@ -510,7 +510,7 @@ int _alpm_pkg_splitname(const char *target, char *name, char *version, int witha
if(witharch) {
/* trim architecture */
if((p = alpm_pkg_name_hasarch(tmp))) {
*p = 0;
*p = '\0';
}
}