innd/art.c
Igor Timkin
ivt at newsfeed.gamma.ru
Thu Feb 15 18:12:51 UTC 2001
Bug and style fixes.
--- innd/art.c.OLD Thu Feb 15 17:48:14 2001
+++ innd/art.c Thu Feb 15 20:23:37 2001
@@ -94,7 +94,8 @@
** Mark that the site gets this article.
*/
void
-SITEmark(SITE *sp, NEWSGROUP *ngp) {
+SITEmark(SITE *sp, NEWSGROUP *ngp)
+{
SITE *funnel;
sp->Sendit = TRUE;
@@ -382,7 +383,8 @@
/* Write an article using the storage api. Put it together in memory and
call out to the api. */
static TOKEN
-ARTstore(CHANNEL *cp) {
+ARTstore(CHANNEL *cp)
+{
BUFFER *Article = &cp->In;
ARTDATA *data = &cp->Data;
HDRCONTENT *hc = data->HdrContent;
@@ -740,7 +742,8 @@
** This is called by NCproc().
*/
void
-ARTparse(CHANNEL *cp) {
+ARTparse(CHANNEL *cp)
+{
BUFFER *bp = &cp->In;
ARTDATA *data = &cp->Data;
int i, j, limit, hopcount;
@@ -1329,7 +1332,7 @@
/* loop over text and copy */
for (i = 0, q = list->Data, dp = list->List ; *p ; p++, *q++ = '\0') {
/* skip leading separators. */
- for (; *p && (*p == ',') && ISWHITE(*p) ; p++)
+ for (; *p && ((*p == ',') || ISWHITE(*p)) ; p++)
continue;
if (*p == '\0')
break;
More information about the inn-patches
mailing list