projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3482e28
)
* remove debug statements
author
Wilfried Göesgens
<willi@citadel.org>
Thu, 15 Oct 2009 12:43:43 +0000
(12:43 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Thu, 15 Oct 2009 12:43:43 +0000
(12:43 +0000)
webcit/serv_func.c
patch
|
blob
|
history
diff --git
a/webcit/serv_func.c
b/webcit/serv_func.c
index 4ee90fdb8981c1b3762077b609d1322a697b8d14..165b192a21c56113ba230e38260a737e883c1f43 100644
(file)
--- a/
webcit/serv_func.c
+++ b/
webcit/serv_func.c
@@
-741,7
+741,6
@@
void tmplput_mesg(StrBuf *Target, WCTemplputParams *TP)
void RegisterEmbeddableMimeType(const char *MimeType, long MTLen, int Priority)
{
StrBuf *MT;
void RegisterEmbeddableMimeType(const char *MimeType, long MTLen, int Priority)
{
StrBuf *MT;
- printf("%s - %ld\n", MimeType, Priority);
MT = NewStrBufPlain(MimeType, MTLen);
Put(EmbeddableMimes, IKEY(Priority), MT, HFreeStrBuf);
}
MT = NewStrBufPlain(MimeType, MTLen);
Put(EmbeddableMimes, IKEY(Priority), MT, HFreeStrBuf);
}
@@
-756,14
+755,12
@@
void CreateMimeStr(void)
it = GetNewHashPos(EmbeddableMimes, 0);
while (GetNextHashPos(EmbeddableMimes, it, &len, &Key, &vMime) &&
(vMime != NULL)) {
it = GetNewHashPos(EmbeddableMimes, 0);
while (GetNextHashPos(EmbeddableMimes, it, &len, &Key, &vMime) &&
(vMime != NULL)) {
- printf("%s - \n", ChrPtr((StrBuf*) vMime));
if (StrLength(EmbeddableMimeStrs) > 0)
StrBufAppendBufPlain(EmbeddableMimeStrs, HKEY("|"), 0);
else
StrBufAppendBufPlain(EmbeddableMimeStrs, HKEY("MSGP "), 0);
StrBufAppendBuf(EmbeddableMimeStrs, (StrBuf*) vMime, 0);
}
if (StrLength(EmbeddableMimeStrs) > 0)
StrBufAppendBufPlain(EmbeddableMimeStrs, HKEY("|"), 0);
else
StrBufAppendBufPlain(EmbeddableMimeStrs, HKEY("MSGP "), 0);
StrBufAppendBuf(EmbeddableMimeStrs, (StrBuf*) vMime, 0);
}
- printf("------%ld-------------%s------%s------------\n", len, ChrPtr(EmbeddableMimeStrs), ChrPtr((StrBuf*) vMime));
DeleteHashPos(&it);
}
DeleteHashPos(&it);
}