]> code.citadel.org Git - citadel.git/commit
* sock_getln (): CtdlSockGetLine() gives us lines without \r\n, no need to look for...
authorWilfried Goesgens <dothebart@citadel.org>
Tue, 26 Oct 2010 19:34:32 +0000 (21:34 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Tue, 26 Oct 2010 19:34:32 +0000 (21:34 +0200)
commitda259cec2c51ddbe764b871c6077a987a3b844a2
tree3871506478116d558cea1dfa97454d725ea132a0
parentf8e531f327d4e30a848f65e96e2959173b47a5c5
* sock_getln (): CtdlSockGetLine() gives us lines without \r\n, no need to look for them again
* sock_getln_err (): add integer pointer returning the actual return state in case of error
* ml_sock_gets (): use sock_getln_err () so we can abort on impropper replies
* smtp_try (): make socket nonblocking, so we can abort on error
 -> we will wait 5 seconds for the remote site to send us the SMTP-State else we will abort the connection on failure.
citadel/clientsocket.c
citadel/modules/smtp/serv_smtp.c