and therefore get out of sync if ASUP command set the access level to
0 and therefore deleted the user (thanks to Eric McDonald)
$Log$
+Revision 1.401 1999/10/28 19:50:55 ajc
+* Fixed a problem where the client protocol would spit out two responses
+ and therefore get out of sync if ASUP command set the access level to
+ 0 and therefore deleted the user (thanks to Eric McDonald)
+
Revision 1.400 1999/10/28 05:08:49 ajc
* Removed all of the thread cancellation cruft that is no longer necessary
* Moved the now non-system-dependent RemoveContext() out of sysdep.c (now
Fri Jul 10 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
* Initial CVS import
-
char requested_user[256];
int np;
int newax;
+ int deleted = 0;
if ( (CC->internal_pgm==0)
&& ( (CC->logged_in == 0) || (is_aide()==0) ) ) {
lputuser(&usbuf);
if (usbuf.axlevel == 0) {
if (purge_user(requested_user)==0) {
- cprintf("%d %s deleted.\n", OK, requested_user);
+ deleted = 1;
}
}
- cprintf("%d Ok\n", OK);
+ cprintf("%d Ok", OK);
+ if (deleted) cprintf(" (%s deleted)", requested_user);
+ cprintf("\n");
}