projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
20d79c4
)
* fix non-iconv-enabled build
author
Wilfried Göesgens
<willi@citadel.org>
Thu, 15 Oct 2009 13:06:34 +0000
(13:06 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Thu, 15 Oct 2009 13:06:34 +0000
(13:06 +0000)
libcitadel/lib/stringbuf.c
patch
|
blob
|
history
diff --git
a/libcitadel/lib/stringbuf.c
b/libcitadel/lib/stringbuf.c
index 70d59c7a7dca6ff52b7828ca270facf1a76d49a0..2a286636571dd7452098b3e8f80bc56df68f082f 100644
(file)
--- a/
libcitadel/lib/stringbuf.c
+++ b/
libcitadel/lib/stringbuf.c
@@
-2947,6
+2947,8
@@
inline static void DecodeSegment(StrBuf *Target,
char encoding[16];
#ifdef HAVE_ICONV
iconv_t ic = (iconv_t)(-1);
char encoding[16];
#ifdef HAVE_ICONV
iconv_t ic = (iconv_t)(-1);
+#else
+ void *ic = NULL;
#endif
/* Now we handle foreign character sets properly encoded
* in RFC2047 format.
#endif
/* Now we handle foreign character sets properly encoded
* in RFC2047 format.