Changes in / [41064be:f8a138c]


Ignore:
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    rca1fb26a rc55930e  
    14721472        owl_fmtext_append_normal(&fm, "\n");
    14731473        owl_fmtext_appendf_normal(&fm, "  Port      : %i\n", ntohs(n->z_port));
     1474        owl_fmtext_appendf_normal(&fm, "  Charset   : %s\n", owl_zephyr_get_charsetstr(n));
    14741475        owl_fmtext_appendf_normal(&fm, "  Auth      : %s\n", owl_zephyr_get_authstr(n));
    14751476
  • zephyr.c

    r441fd42 rc55930e  
    11051105  g_free(filename);
    11061106}
     1107
     1108#ifdef HAVE_LIBZEPHYR
     1109const char *owl_zephyr_get_charsetstr(const ZNotice_t *n)
     1110{
     1111#ifdef ZCHARSET_UTF_8
     1112  return ZCharsetToString(n->z_charset);
     1113#else
     1114  return "";
     1115#endif
     1116}
     1117#else
     1118const char *owl_zephyr_get_charsetstr(const void *n)
     1119{
     1120  return "";
     1121}
     1122#endif
    11071123
    11081124/* return auth string */
Note: See TracChangeset for help on using the changeset viewer.