X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=sidebyside;f=lib-lua%2Fmadmutt.cpkg;h=5c2ebe7f21d0af7dd56a9f8751133515e914c793;hb=378ab81aa9abf4db714638c3e2e786e6cc58d2b1;hp=9c2dc0589ba9596b55e9a6e47e8d9a95260597d8;hpb=92c3d4c767ddbc0e0c64dd6e132ce10627550580;p=apps%2Fmadmutt.git diff --git a/lib-lua/madmutt.cpkg b/lib-lua/madmutt.cpkg index 9c2dc05..5c2ebe7 100644 --- a/lib-lua/madmutt.cpkg +++ b/lib-lua/madmutt.cpkg @@ -54,7 +54,7 @@ static char *madmutt_init_shorthost(void) /* some systems report the FQDN instead of just the hostname */ uname(&utsname); - p = strchrnul(utsname.nodename, '.'); + p = m_strchrnul(utsname.nodename, '.'); return p_dupstr(utsname.nodename, p - utsname.nodename); } @@ -72,13 +72,13 @@ static char *madmutt_init_hostname(void) return m_strdup("@"); if (*buffer != '@') { - int len = m_strlen(buffer) + m_strlen(MCore.shorthost) + 2; + int len = m_strlen(buffer) + m_strlen(mod_core.shorthost) + 2; char *res = p_new(char, len); - snprintf(res, len, "%s.%s", NONULL(MCore.shorthost), buffer); + snprintf(res, len, "%s.%s", NONULL(mod_core.shorthost), buffer); return res; } - return m_strdup(NONULL(MCore.shorthost)); + return m_strdup(NONULL(mod_core.shorthost)); } #if defined(HAVE_QDBM) @@ -91,7 +91,7 @@ static char *madmutt_init_hostname(void) # define HCACHE_BACKEND NULL #endif -@package MCore { +@package mod_core { /* ** .pp ** \fIThis is a read-only system property and specifies madmutt's