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
|
@ -730,7 +730,7 @@ typedef struct {
|
|||
/* download result code:
|
||||
* 0 - download completed successfully
|
||||
* 1 - the file is up-to-date
|
||||
* negative - error code
|
||||
* -1 - error
|
||||
*/
|
||||
int result;
|
||||
} alpm_download_event_completed_t;
|
||||
|
|
Loading…
Add table
Reference in a new issue