Fix spelling/typo/grammar.
This commit is contained in:
parent
dcad869c6e
commit
f1a37aecae
3 changed files with 5 additions and 5 deletions
|
@ -608,7 +608,7 @@ static int curl_check_finished_download(alpm_handle_t *handle, CURLM *curlm, CUR
|
|||
curl_easy_getinfo(curl, CURLINFO_CONDITION_UNMET, &timecond);
|
||||
curl_easy_getinfo(curl, CURLINFO_EFFECTIVE_URL, &effective_url);
|
||||
|
||||
/* Let's check if client requested downloading accompanion *.sig file */
|
||||
/* Let's check if client requested downloading a companion *.sig file */
|
||||
if(!payload->signature && payload->download_signature && curlerr == CURLE_OK && payload->respcode < 400) {
|
||||
struct dload_payload *sig = NULL;
|
||||
char *url = payload->fileurl;
|
||||
|
|
|
@ -49,7 +49,7 @@ struct dload_payload {
|
|||
int allow_resume;
|
||||
int errors_ok;
|
||||
int unlink_on_fail;
|
||||
int download_signature; /* specifies if an accompanion *.sig file need to be downloaded*/
|
||||
int download_signature; /* specifies if a companion *.sig file need to be downloaded*/
|
||||
int signature_optional; /* *.sig file is optional */
|
||||
#ifdef HAVE_LIBCURL
|
||||
CURL *curl;
|
||||
|
|
|
@ -744,9 +744,9 @@ static int find_dl_candidates(alpm_handle_t *handle, alpm_list_t **files)
|
|||
ASSERT(spkg->filename != NULL, RET_ERR(handle, ALPM_ERR_PKG_INVALID_NAME, -1));
|
||||
|
||||
need_download = spkg->download_size != 0 || !_alpm_filecache_exists(handle, spkg->filename);
|
||||
/* even if the package file in the cache we need to check for
|
||||
* accompanion *.sig file as well.
|
||||
* If *.sig is not cached then force download the package + its signature file.
|
||||
/* even if the package file is in the cache, we need to check for
|
||||
* a companion *.sig file as well.
|
||||
* If *.sig is not cached, then force download the package + its signature file.
|
||||
*/
|
||||
if(!need_download && (siglevel & ALPM_SIG_PACKAGE)) {
|
||||
char *sig_filename = NULL;
|
||||
|
|
Loading…
Add table
Reference in a new issue