* 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)
commitdbfa635dd44b64670d5370bd5fd1bf556de778a5
tree3871506478116d558cea1dfa97454d725ea132a0
parent64739000c20cd3605c6a68efbea7227796ee6009
* 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