[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tpop3d-discuss]fix whoson enable/disable
From: |
Arkadiusz Miskiewicz |
Subject: |
[tpop3d-discuss]fix whoson enable/disable |
Date: |
Wed, 28 Jan 2004 21:03:19 +0100 |
User-agent: |
KMail/1.6 |
Hi,
Whoson is always enabled, whoson-enable flas is ignored. Here is fix:
diff -urN tpop3d-1.5.3.org/authswitch.c tpop3d-1.5.3/authswitch.c
--- tpop3d-1.5.3.org/authswitch.c 2004-01-28 20:59:07.879436352 +0100
+++ tpop3d-1.5.3/authswitch.c 2004-01-28 20:59:38.938970374 +0100
@@ -330,7 +330,7 @@
#ifdef USE_WHOSON
char buf[128] = {0};
/* Notify whoson server the user has logged in correctly */
- if (wso_login(clienthost, A->user, buf, sizeof(buf)) == -1)
+ if (whoson_enable && wso_login(clienthost, A->user, buf, sizeof(buf)) ==
-1)
log_print(LOG_ERR, "authswitch_onlogin: wso_login: %s", buf);
#endif /* USE_WHOSON */
--
Arkadiusz MiĆkiewicz CS at FoE, Wroclaw University of Technology
arekm.pld-linux.org, 1024/3DB19BBD, JID: arekm.jabber.org, PLD/Linux
- [tpop3d-discuss]fix whoson enable/disable,
Arkadiusz Miskiewicz <=