mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
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:
parent
bbe55b5ce9
commit
d6d7435a6c
@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user