Skip to content
Snippets Groups Projects
Commit 5aa874f1 authored by Jonathan Hanks's avatar Jonathan Hanks
Browse files

Minor tweak to mbuf_probe argument handling to match the 3.5 work.

parent ca60bc79
No related branches found
No related tags found
No related merge requests found
...@@ -198,7 +198,7 @@ parse_options( int argc, char* argv[] ) ...@@ -198,7 +198,7 @@ parse_options( int argc, char* argv[] )
else else
{ {
std::map< std::string, MBufCommands >::iterator it; std::map< std::string, MBufCommands >::iterator it;
it = command_lookup.find( args.front( ) ); it = command_lookup.find( arg );
if ( it == command_lookup.end( ) ) if ( it == command_lookup.end( ) )
{ {
std::ostringstream os; std::ostringstream os;
...@@ -374,4 +374,4 @@ main( int argc, char* argv[] ) ...@@ -374,4 +374,4 @@ main( int argc, char* argv[] )
break; break;
} }
return 0; return 0;
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment