* remove debug statements
authorWilfried Göesgens <willi@citadel.org>
Thu, 15 Oct 2009 12:43:43 +0000 (12:43 +0000)
committerWilfried Göesgens <willi@citadel.org>
Thu, 15 Oct 2009 12:43:43 +0000 (12:43 +0000)
webcit/serv_func.c

index 4ee90fdb8981c1b3762077b609d1322a697b8d14..165b192a21c56113ba230e38260a737e883c1f43 100644 (file)
@@ -741,7 +741,6 @@ void tmplput_mesg(StrBuf *Target, WCTemplputParams *TP)
 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);
 }
@@ -756,14 +755,12 @@ void CreateMimeStr(void)
        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);
        }
-       printf("------%ld-------------%s------%s------------\n", len, ChrPtr(EmbeddableMimeStrs), ChrPtr((StrBuf*) vMime));
        DeleteHashPos(&it);
 }