summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
Diffstat (limited to 'src/login')
-rw-r--r--src/login/login.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/login/login.c b/src/login/login.c
index 7df8704e6..a54aca410 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -189,7 +189,6 @@ int login_log(char *fmt, ...) {
if(!log_fp)
log_fp = fopen(login_log_filename, "a");
- log_fp = fopen(login_log_filename, "a");
if (log_fp) {
if (fmt[0] == '\0') // jump a line if no message
fprintf(log_fp, RETCODE);