aboutsummaryrefslogtreecommitdiffstats
path: root/USER
diff options
context:
space:
mode:
Diffstat (limited to 'USER')
-rw-r--r--USER/USER.xs9
1 files changed, 2 insertions, 7 deletions
diff --git a/USER/USER.xs b/USER/USER.xs
index a5d8043..272ada7 100644
--- a/USER/USER.xs
+++ b/USER/USER.xs
@@ -72,21 +72,16 @@ USER::ADMIN *
Admin_new(CLASS)
char *CLASS
CODE:
+ USER__ERR *error == NULL;
RETVAL = (USER__ADMIN *)safemalloc( sizeof( USER__ADMIN ) );
if( RETVAL == NULL ){
warn("unable to malloc USER__ADMIN");
XSRETURN_UNDEF;
}
+ RETVAL = lu_start(NULL, 0, NULL, NULL, lu_prompt_console_quiet, NULL, &error);
OUTPUT:
RETVAL
-void
-Admin_start(self)
- USER::ADMIN *self
- CODE:
- USER__ERR *error = NULL;
- self = lu_start(NULL, 0, NULL, NULL, lu_prompt_console_quiet, NULL, &error);
-
void
Admin_DESTROY(self)
USER::ADMIN *self