* 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:51:18 +0000 (21:51 +0200)
commit02d5602fc7e33b448eac01b05ee044c2cadea098
treea750d07df5c85c39049c687faed791ee6c6778c2
parent40b6668443c5ee115e54726c246aaf065ddb46bf
* 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