index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | src/pacman/callback.c | 2 |
diff --git a/src/pacman/callback.c b/src/pacman/callback.c index 5f391306..e13a7e7d 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -550,7 +550,7 @@ void cb_dl_progress(const char *filename, int xfered, int total) fname = strdup(filename); /* strip extension if it's there * NOTE: in the case of package files, only the pkgname is sent now */ - if((p = strstr(fname, PM_EXT_PKG)) || (p = strstr(fname, PM_EXT_DB))) { + if((p = strstr(fname, PKGEXT)) || (p = strstr(fname, DBEXT))) { *p = '\0'; } if(strlen(fname) > FILENAME_TRIM_LEN) { |