libalpm: clarify alpm_download_event_completed_t status

The comment makes it seem that the result itself is an error code. But
all it does is simply return -1 to indicate an error occured;

Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
morganamilo 2020-11-24 12:39:06 +00:00 committed by Allan McRae
parent 4b8c274f7f
commit 75cfce9468

View file

@ -730,7 +730,7 @@ typedef struct {
/* download result code: /* download result code:
* 0 - download completed successfully * 0 - download completed successfully
* 1 - the file is up-to-date * 1 - the file is up-to-date
* negative - error code * -1 - error
*/ */
int result; int result;
} alpm_download_event_completed_t; } alpm_download_event_completed_t;