projects
/
ngircd-alex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bdae55
)
Auth PING: The numeric ID is a "long", use atol()
author
Alexander Barton
<alex@barton.de>
Tue, 20 Jan 2015 21:49:23 +0000
(22:49 +0100)
committer
Alexander Barton
<alex@barton.de>
Tue, 20 Jan 2015 21:49:23 +0000
(22:49 +0100)
src/ngircd/irc-login.c
patch
|
blob
|
history
diff --git
a/src/ngircd/irc-login.c
b/src/ngircd/irc-login.c
index
7ad1cb7
..
fbb50ed
100644
(file)
--- a/
src/ngircd/irc-login.c
+++ b/
src/ngircd/irc-login.c
@@
-832,7
+832,7
@@
IRC_PONG(CLIENT *Client, REQUEST *Req)
if (auth_ping) {
LogDebug("AUTH PONG: waiting for token \"%ld\", got \"%s\" ...",
auth_ping, Req->argv[0]);
- if (auth_ping == ato
i
(Req->argv[0])) {
+ if (auth_ping == ato
l
(Req->argv[0])) {
Conn_SetAuthPing(conn, 0);
if (Client_Type(Client) == CLIENT_WAITAUTHPING)
Login_User(Client);