mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-11 07:31:04 -04:00
Fix comment in alpm_db_update
Fix comment to better explain the magic constant used when allocating a buffer for ".db.sig" URL. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
99c7b1b088
commit
d568a4335b
@ -247,7 +247,7 @@ int SYMEXPORT alpm_db_update(int force, alpm_db_t *db)
|
||||
/* print final_db_url into a buffer (leave space for .sig) */
|
||||
len = strlen(final_db_url) + 5;
|
||||
} else {
|
||||
/* print server + filename into a buffer (leave space for .sig) */
|
||||
/* print server + filename into a buffer (leave space for separator and .db.sig) */
|
||||
len = strlen(server) + strlen(db->treename) + 9;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user