gchar *mimehdr_enctype = "?B?";
const gchar *mimehdr_charset;
- //g_print("src = %s\n", src);
+ /* g_print("src = %s\n", src); */
mimehdr_charset = conv_get_outgoing_charset_str();
/* convert to wide-character string */
strlen(mimehdr_charset) + strlen(mimehdr_enctype);
mimehdr_begin_len = strlen(mimehdr_init) +
strlen(mimehdr_charset) + strlen(mimehdr_enctype);
- //line_len = 1;
+ /* line_len = 1; */
line_len = header_len;
destp = dest;
*dest = '\0';
}
/* g_free(raw); */
src_codeset = conv_get_current_charset_str();
- //printf ("tmp = %s, tlen = %d, mbl\n",
- // tmp, tlen, mbl);
+ /* printf ("tmp = %s, tlen = %d, mbl\n",
+ tmp, tlen, mbl); */
if (jconv_alloc_conv(tmp, tlen + mbl,
&raw_new, &raw_new_len,
&src_codeset, 1,
wtmpp++;
}
- //g_print("tmp = %s, tlen = %d, mb_seqlen = %d\n",
- // tmp, tlen, mb_seqlen);
+ /*
+ g_print("tmp = %s, tlen = %d, mb_seqlen = %d\n",
+ tmp, tlen, mb_seqlen);
+ */
if (tlen == 0 || raw_len == 0) {
g_free(tmp);
g_free(tmp);
g_free(raw);
- //g_print("line_len = %d\n\n", line_len);
+ /* g_print("line_len = %d\n\n", line_len); */
} while (*wtmpp != (wchar_t)0);
while (iswspace(*wsrcp)) {
g_free(wsrc);
- //g_print("dest = %s\n", dest);
+ /g_print("dest = %s\n", dest);
}
#else /* !HAVE_LIBJCONV */
gchar *mimehdr_enctype = "?B?";
const gchar *mimehdr_charset;
- //g_print("src = %s\n", src);
+ /* g_print("src = %s\n", src); */
mimehdr_charset = conv_get_outgoing_charset_str();
if (strcmp(mimehdr_charset, "ISO-2022-JP") != 0) {
/* currently only supports Japanese */
strlen(mimehdr_charset) + strlen(mimehdr_enctype);
mimehdr_begin_len = strlen(mimehdr_init) +
strlen(mimehdr_charset) + strlen(mimehdr_enctype);
- //line_len = 1;
+ /* line_len = 1; */
line_len = header_len;
destp = dest;
*dest = '\0';
wtmpp++;
}
- //g_print("tmp = %s, tlen = %d, mb_seqlen = %d\n",
- // tmp, tlen, mb_seqlen);
+ /* g_print("tmp = %s, tlen = %d, mb_seqlen = %d\n",
+ tmp, tlen, mb_seqlen);
+ */
if (tlen == 0) {
g_free(tmp);
}
g_free(tmp);
- //g_print("line_len = %d\n\n", line_len);
+ /* g_print("line_len = %d\n\n", line_len); */
} while (*wtmpp != (wchar_t)0);
while (iswspace(*wsrcp)) {
g_free(wsrc);
- //g_print("dest = %s\n", dest);
+ /* g_print("dest = %s\n", dest); */
}
#endif /* HAVE_LIBJCONV */