projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76c95bc
)
(no commit message)
author
Wilfried Göesgens
<willi@citadel.org>
Thu, 17 Apr 2008 21:50:49 +0000
(21:50 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Thu, 17 Apr 2008 21:50:49 +0000
(21:50 +0000)
libcitadel/lib/tools.c
patch
|
blob
|
history
diff --git
a/libcitadel/lib/tools.c
b/libcitadel/lib/tools.c
index 3a5e921b6fd8492b7123287a1e0a3665f41a15b9..773b75825af18e9b0b60926f64e856197cfd0954 100644
(file)
--- a/
libcitadel/lib/tools.c
+++ b/
libcitadel/lib/tools.c
@@
-446,7
+446,7
@@
char *rfc2047encode(char *line, long length)
return strdup(line);
}
- result = (char*) malloc(s
trlen
(UTF8_HEADER) + 4 + length * 2);
+ result = (char*) malloc(s
izeof
(UTF8_HEADER) + 4 + length * 2);
strncpy (result, UTF8_HEADER, strlen (UTF8_HEADER));
CtdlEncodeBase64(result + strlen(UTF8_HEADER), line, length, 0);
end = strlen (result);