From ca32c3f982f9d9f61690fcdb907fe0bd0917068c Mon Sep 17 00:00:00 2001 From: Daouda Lo Date: Thu, 19 Jun 2003 16:39:43 +0000 Subject: - misc fixes --- USER/USER.xs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'USER') diff --git a/USER/USER.xs b/USER/USER.xs index 8249708..84ff583 100644 --- a/USER/USER.xs +++ b/USER/USER.xs @@ -542,10 +542,10 @@ Admin_IsLocked(self, ent) USER::ENT *ent CODE: USER__ERR *error = NULL; - if (lu_user_islocked(self, ent, &error)) - RETVAL = 1 - else RETVAL = 0; - OUPUT: + if (lu_user_islocked(self, ent, &error)) { + RETVAL = 1; + } else { RETVAL = 0; }; + OUTPUT: RETVAL int @@ -554,9 +554,9 @@ Admin_Lock(self, ent) USER::ENT *ent CODE: USER__ERR *error = NULL; - if (lu_user_lock(self, ent, &error) == FALSE) - RETVAL = 0 - else RETVAL = 1 + if (lu_user_lock(self, ent, &error) == FALSE) { + RETVAL = 0; + } else { RETVAL = 1; }; OUTPUT: RETVAL @@ -566,9 +566,9 @@ Admin_UnLock(self, ent) USER::ENT *ent CODE: USER__ERR *error = NULL; - if (lu_user_unlock(self, ent, &error) == FALSE) - RETVAL = 0 - else RETVAL = 1 + if (lu_user_unlock(self, ent, &error) == FALSE) { + RETVAL = 0; + } else { RETVAL = 1; }; OUTPUT: RETVAL -- cgit v1.2.1