projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
changed sock_read() in some files to sock_gets().
[claws.git]
/
src
/
news.c
diff --git
a/src/news.c
b/src/news.c
index c76781e2783c7bcc01e0b96b875751372c73403e..27a500221133c976b268ddfdc7e4dc4e56e2f2e0 100644
(file)
--- a/
src/news.c
+++ b/
src/news.c
@@
-376,7
+376,7
@@
static GSList *news_get_uncached_articles(NNTPSession *session,
}
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;
}