From 4764f08852808bda58b8038a313f71005571a0d1 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Fri, 18 Mar 2005 18:36:29 +0000 Subject: Fixed some typo... --- lib/libalpm/handle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libalpm/handle.c') diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c index 1c3501f7..8034f6c9 100644 --- a/lib/libalpm/handle.c +++ b/lib/libalpm/handle.c @@ -57,7 +57,7 @@ pmhandle_t *handle_new() } /* see if we're root or not (fakeroot does not count) */ - if(handle->uid() == 0 && !getenv("FAKEROOTKEY")) { + if(handle->uid == 0 && !getenv("FAKEROOTKEY")) { handle->access = PM_ACCESS_RW; } else { handle->access = PM_ACCESS_RO; @@ -138,7 +138,7 @@ int handle_set_option(pmhandle_t *handle, unsigned char val, unsigned long data) DBPATH value */ break; case PM_OPT_LOGFILE: - if((char *)data == NULL || handle->uid() != 0) { + if((char *)data == NULL || handle->uid != 0) { return(0); } if(handle->logfile) { -- cgit v1.2.3-24-g4f1b