aboutsummaryrefslogtreecommitdiffstats
path: root/USER
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2003-06-19 16:39:43 +0000
committerDaouda Lo <daouda@mandriva.com>2003-06-19 16:39:43 +0000
commitca32c3f982f9d9f61690fcdb907fe0bd0917068c (patch)
tree34c13cc9279291cadb574670d5a53d8b7becd09e /USER
parent8cd3ec0f6d120741683070fab1adcdded50dcc81 (diff)
downloaduserdrake-ca32c3f982f9d9f61690fcdb907fe0bd0917068c.tar
userdrake-ca32c3f982f9d9f61690fcdb907fe0bd0917068c.tar.gz
userdrake-ca32c3f982f9d9f61690fcdb907fe0bd0917068c.tar.bz2
userdrake-ca32c3f982f9d9f61690fcdb907fe0bd0917068c.tar.xz
userdrake-ca32c3f982f9d9f61690fcdb907fe0bd0917068c.zip
- misc fixes
Diffstat (limited to 'USER')
-rw-r--r--USER/USER.xs20
1 files changed, 10 insertions, 10 deletions
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