1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-12 04:15:06 -05: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:
David Macek 2015-04-17 17:31:19 +02:00 committed by Allan McRae
parent 99c7b1b088
commit d568a4335b

View File

@ -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) */ /* print final_db_url into a buffer (leave space for .sig) */
len = strlen(final_db_url) + 5; len = strlen(final_db_url) + 5;
} else { } 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; len = strlen(server) + strlen(db->treename) + 9;
} }