projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
52467e6
)
some code fix in procheader.c
author
Hoà Viêt Dinh
<dinh.viet.hoa@free.fr>
Tue, 8 May 2001 14:29:01 +0000
(14:29 +0000)
committer
Hoà Viêt Dinh
<dinh.viet.hoa@free.fr>
Tue, 8 May 2001 14:29:01 +0000
(14:29 +0000)
src/procheader.c
patch
|
blob
|
history
diff --git
a/src/procheader.c
b/src/procheader.c
index 667e6c89794f5b971c8868bf323c30c846a7bcf4..2363c03597e3fe475ed0b0e3f9c1a51a2f5f521e 100644
(file)
--- a/
src/procheader.c
+++ b/
src/procheader.c
@@
-212,7
+212,7
@@
GSList *procheader_get_header_list(FILE *fp)
while (procheader_get_unfolded_line(buf, sizeof(buf), fp) != NULL) {
if (header = procheader_parse_header(buf))
-
g_ptr_array_add(headers
, header);
+
hlist = g_slist_append(hlist
, header);
/*
if (*buf == ':') continue;
for (p = buf; *p && *p != ' '; p++) {
@@
-262,8
+262,8
@@
GPtrArray *procheader_get_header_array(FILE *fp)
g_ptr_array_add(headers, header);
break;
}
- */
}
+ */
}
return headers;