summaryrefslogtreecommitdiff
path: root/src/ladmin/ladmin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ladmin/ladmin.c')
-rw-r--r--src/ladmin/ladmin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ladmin/ladmin.c b/src/ladmin/ladmin.c
index 025488f33..475bdcdeb 100644
--- a/src/ladmin/ladmin.c
+++ b/src/ladmin/ladmin.c
@@ -3215,7 +3215,7 @@ int prompt(void)
} else {
ShowMessage("Bye.\n");
}
- exit(0);
+ exit(EXIT_SUCCESS);
// unknown command
} else {
if (defaultlanguage == 'F') {
@@ -4199,7 +4199,7 @@ int Connect_login_server(void)
if (login_fd == -1)
{ //Might not be the most elegant way to handle this, but I've never used ladmin so I dunno what else you could do. [Skotlex]
ShowMessage("Error: Failed to connect to Login Server\n");
- exit(1);
+ exit(EXIT_FAILURE);
}
if (passenc == 0) {
WFIFOHEAD(login_fd,28);