reinstate cmd_user, and continue to simplify pop code.
[apps/madmutt.git] / lib-lua / madmutt.cpkg
index 9c2dc05..458bdb5 100644 (file)
@@ -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);
 }