+2001-05-01 [hiroyuki]
+
+ * src/esmtp.c
+ src/news.c
+ src/nntp.c: changed sock_read() to sock_gets(), they've been left
+ unsynched.
+
2001-05-01 [hoa]
* src/Makefile.am added prefs_display_headers.[ch] headers_display.[ch]
* src/defs.h added HEADERS_DISPLAY_RC : name of the config file
* src/news.c (news_session_new_for_folder): set userid=NULL if
password dialog is cancelled.
->>>>>>> 1.29
2001-04-30 [sergey]
* src/nntp.h (NNTPSockInfo): new type.
gint esmtp_ok(SockInfo *sock)
{
- while (sock_read(sock, esmtp_response, sizeof(esmtp_response) - 1)
+ while (sock_gets(sock, esmtp_response, sizeof(esmtp_response) - 1)
!= -1) {
if (strlen(esmtp_response) < 4)
return SM_ERROR;
}
for (;;) {
- if (sock_read(SESSION(session)->sock, buf, sizeof(buf)) < 0) {
+ if (sock_gets(SESSION(session)->sock, buf, sizeof(buf)) < 0) {
log_warning(_("error occurred while getting xover.\n"));
return newlist;
}
static gint nntp_gen_recv(NNTPSockInfo *sock, gchar *buf, gint size)
{
- if (sock_read(sock->sock, buf, size) == -1)
+ if (sock_gets(sock->sock, buf, size) == -1)
return NN_SOCKET;
strretchomp(buf);