Commit f26b8c9e authored by Claes Sjofors's avatar Claes Sjofors

Wb command 'build volume' bugfix

parent a92222b5
...@@ -4871,13 +4871,11 @@ static int wnav_build_func( void *client_data, ...@@ -4871,13 +4871,11 @@ static int wnav_build_func( void *client_data,
// Build current volume // Build current volume
char namestr[80]; char namestr[80];
if ( ODD( dcli_get_qualifier( "/NAME", namestr, sizeof(namestr)))) { if ( EVEN( dcli_get_qualifier( "/NAME", namestr, sizeof(namestr)))) {
if ( EVEN( dcli_get_qualifier( "dcli_arg2", namestr, sizeof(namestr)))) {
wnav->message('E', "Syntax error"); wnav->message('E', "Syntax error");
return WNAV__SYNTAX; return WNAV__SYNTAX;
} }
if ( ODD( dcli_get_qualifier( "dcli_arg2", namestr, sizeof(namestr)))) {
wnav->message('E', "Syntax error");
return WNAV__SYNTAX;
} }
wb_build build( *(wb_session *)wnav->ldhses, wnav); wb_build build( *(wb_session *)wnav->ldhses, wnav);
......
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