Commit 3c2e31d7 authored by Matteo Quintiliani's avatar Matteo Quintiliani

Added myModId in earthworm error message


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@1205 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 5be60495
......@@ -606,9 +606,9 @@ void nmxptool_ew_send_error(unsigned int ierr, char *message, const char *hostna
}
if(i < NMXPTOOL_EW_ERR_MAXVALUE) {
if(message) {
snprintf(complete_message, NMXPTOOL_EW_MAXSZE_MSG, "%s - %s %s.", hostname, nmxptool_ew_err_msg[i].message, message);
snprintf(complete_message, NMXPTOOL_EW_MAXSZE_MSG, "m%u - %s - %s %s.", myModId, hostname, nmxptool_ew_err_msg[i].message, message);
} else {
snprintf(complete_message, NMXPTOOL_EW_MAXSZE_MSG, "%s - %s", hostname, nmxptool_ew_err_msg[i].message);
snprintf(complete_message, NMXPTOOL_EW_MAXSZE_MSG, "m%u - %s - %s", myModId, hostname, nmxptool_ew_err_msg[i].message);
}
nmxptool_ew_report_status ( &errLogo, nmxptool_ew_err_msg[i].error, complete_message);
} else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment