diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-12-28 16:43:43 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-12-28 16:43:43 -0500 |
commit | 0ab8149a8e9e900b63ee28b9590a249578339376 (patch) | |
tree | 564a5c516b7c308964b79ea761e4800efe26d252 /tools/sniffer.cpp | |
parent | 95137f262c2a57831dccf058428a2f64e900496e (diff) | |
download | mongo-0ab8149a8e9e900b63ee28b9590a249578339376.tar.gz |
uassert/massert take error code SERVER-112
Diffstat (limited to 'tools/sniffer.cpp')
-rw-r--r-- | tools/sniffer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/sniffer.cpp b/tools/sniffer.cpp index 26830d7d29d..9590d8fc8e9 100644 --- a/tools/sniffer.cpp +++ b/tools/sniffer.cpp @@ -370,8 +370,8 @@ int main(int argc, char **argv){ } else if ( arg == string( "--forward" ) ) { forwardAddress = args[ ++i ]; } else if ( arg == string( "--source" ) ) { - uassert( "can't use --source twice" , source == false ); - uassert( "source needs more args" , args.size() > i + 2); + uassert( 10266 , "can't use --source twice" , source == false ); + uassert( 10267 , "source needs more args" , args.size() > i + 2); source = true; replay = ( args[ ++i ] == string( "FILE" ) ); if ( replay ) |