diff options
author | David Macek <david.macek.0@gmail.com> | 2015-04-17 17:31:19 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-05-12 06:00:55 +0200 |
commit | d568a4335bd372e490f28acd25f8b2bd1b560730 (patch) | |
tree | 474b5a1e0abb0b785567d2a80bc0fbb228e0f4f6 | |
parent | 99c7b1b0882ccf816fcabdc937b05260422df1f3 (diff) | |
download | pacman-d568a4335bd372e490f28acd25f8b2bd1b560730.tar.gz pacman-d568a4335bd372e490f28acd25f8b2bd1b560730.tar.xz |
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>
-rw-r--r-- | lib/libalpm/be_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c index 20130dcd..45d47004 100644 --- a/lib/libalpm/be_sync.c +++ b/lib/libalpm/be_sync.c @@ -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; } |