diff --git a/mbtask/taskcomm.c b/mbtask/taskcomm.c index 1bf4266f..b7d58b95 100644 --- a/mbtask/taskcomm.c +++ b/mbtask/taskcomm.c @@ -611,7 +611,7 @@ char *exe_cmd(char *in) */ if (strncmp(cmd, "MGTI", 4) == 0) { buf = calloc(SS_BUFSIZE, sizeof(char)); - mib_get_netmail_r(buf); + mib_get_email_r(buf); snprintf(obuf, SS_BUFSIZE, "%s", buf); free(buf); return obuf;