Commit 22ce5007 authored by Claes Sjofors's avatar Claes Sjofors

Directory volume configuration error message fix

parent fd2a9e78
......@@ -1580,14 +1580,21 @@ pwr_tStatus lfu_SaveDirectoryVolume(
if ( !found) {
char msg[200];
if ( nodeo.cid() == pwr_cClass_FriendNodeConfig)
sprintf( msg, "Error in FriendNodeConfig object '%s', Unknown volume", nodeconfig_name);
else
sprintf( msg, "Error in SevNodeConfig object '%s', Unknown volume", nodeconfig_name);
MsgWindow::message( 'E', msg, msgw_ePop_Default);
syntax_error = 1;
}
if ( !strcmp( nc.nodename, "")) {
char msg[200];
sprintf( msg, "Error in NodeConfig object '%s', NodeName is missing\n",
if ( nodeo.cid() == pwr_cClass_FriendNodeConfig)
sprintf( msg, "Error in FriendNodeConfig object '%s', NodeName is missing\n",
nodeo.longName().c_str());
else
sprintf( msg, "Error in SevNodeConfig object '%s', NodeName is missing\n",
nodeo.longName().c_str());
MsgWindow::message( 'E', msg, msgw_ePop_Default);
syntax_error = 1;
......
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