diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-01-06 15:37:49 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-01-06 15:37:49 +0000 |
commit | 9759921110e2ede496d60e9da412ad28d021afb0 (patch) | |
tree | 2f3a838a361b089767f00f5229b60be3d4428468 /news.c | |
parent | [w3m-dev 03610] Re: news:<newsgroup> (diff) | |
download | w3m-9759921110e2ede496d60e9da412ad28d021afb0.tar.gz w3m-9759921110e2ede496d60e9da412ad28d021afb0.zip |
fix indent
Diffstat (limited to '')
-rw-r--r-- | news.c | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -1,4 +1,4 @@ -/* $Id: news.c,v 1.6 2003/01/06 15:36:59 ukai Exp $ */ +/* $Id: news.c,v 1.7 2003/01/06 15:37:50 ukai Exp $ */ #include "fm.h" #include "myctype.h" #include <stdio.h> @@ -284,7 +284,7 @@ openNewsStream(ParsedURL *pu) return NULL; p = group; } - else { /* <newsgroup>/<message-id or article-number> */ + else { /* <newsgroup>/<message-id or article-number> */ *p++ = '\0'; news_command(¤t_news, Sprintf("GROUP %s", group)->ptr, &status); @@ -294,7 +294,7 @@ openNewsStream(ParsedURL *pu) if (strchr(p, '@')) /* <message-id> */ news_command(¤t_news, Sprintf("ARTICLE <%s>", p)->ptr, &status); - else /* <article-number> */ + else /* <article-number> */ news_command(¤t_news, Sprintf("ARTICLE %s", p)->ptr, &status); if (status != 220) @@ -338,8 +338,7 @@ readNewsgroup(ParsedURL *pu) qgroup = html_quote(group); group = file_unquote(group); page = Sprintf("<title>Newsgroup: %s</title>\n\ -<h1>Newsgroup: %s</h1>\n<hr>\n", - qgroup, qgroup); +<h1>Newsgroup: %s</h1>\n<hr>\n", qgroup, qgroup); if (SETJMP(AbortLoading) != 0) { news_close(¤t_news); @@ -359,7 +358,7 @@ readNewsgroup(ParsedURL *pu) if (list && *list) { if ((p = strchr(list, '-'))) { *p++ = '\0'; - end = atoi(p); + end = atoi(p); } start = atoi(list); if (start > 0) { @@ -376,8 +375,7 @@ readNewsgroup(ParsedURL *pu) start = end - MaxNewsMessage + 1; } page = Sprintf("<title>Newsgroup: %s %d-%d</title>\n\ -<h1>Newsgroup: %s %d-%d</h1>\n<hr>\n", - qgroup, start, end, qgroup, start, end); +<h1>Newsgroup: %s %d-%d</h1>\n<hr>\n", qgroup, start, end, qgroup, start, end); if (start > first) { i = start - MaxNewsMessage; if (i < first) |