Undo an unnecessary change
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 4 Mar 2004 08:20:46 +0000 (08:20 +0000)
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 4 Mar 2004 08:20:46 +0000 (08:20 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10297 f5534014-38df-0310-8fa8-9805f1628bb7

mergecap.c

index bc790659b667aa59923b032342da83f33190cb3e..6aebba7a88424078fe04a458d1fce098c34728dc 100644 (file)
@@ -1,6 +1,6 @@
 /* Combine two dump files, either by appending or by merging by timestamp
  *
- * $Id: mergecap.c,v 1.19 2004/03/03 22:14:10 jmayer Exp $
+ * $Id: mergecap.c,v 1.20 2004/03/04 08:20:46 jmayer Exp $
  *
  * Written by Scott Renfro <scott@renfro.org> based on
  * editcap by Richard Sharpe and Guy Harris
@@ -266,7 +266,7 @@ open_outfile(out_file_t *out_file, int snapshot_len)
   }
 
   /* Allow output to stdout by using - */
-  if ((strncmp(out_file->filename, "-", 2) == 0) && (strlen(out_file->filename) == 1))
+  if (strncmp(out_file->filename, "-", 2) == 0)
     out_file->filename = "";