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:
parent
4b8c274f7f
commit
75cfce9468
1 changed files with 3 additions and 3 deletions
|
@ -728,9 +728,9 @@ typedef struct {
|
||||||
/* total bytes in file */
|
/* total bytes in file */
|
||||||
off_t total;
|
off_t total;
|
||||||
/* 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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue