From a719484f1ee0381b72729edf13dd03c4522f85e3 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Sat, 21 Oct 2006 21:30:43 +0000 Subject: Reverted the "out of memory" error to 1 to prevent API changes. This should be changed later, or at least everything fixed up. Typically a 1 return indicates "an error occured" and some functions still might just return error on failure. --- lib/libalpm/alpm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 35260827..a0dbe2bd 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -398,7 +398,7 @@ char *alpm_get_sha1sum(char *name); */ extern enum __pmerrno_t { - PM_ERR_MEMORY = 2, + PM_ERR_MEMORY = 1, PM_ERR_SYSTEM, PM_ERR_BADPERMS, PM_ERR_NOT_A_FILE, -- cgit v1.2.3