aboutsummaryrefslogtreecommitdiffstats
path: root/USER
diff options
context:
space:
mode:
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