Fix indentation.
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 23 May 2009 20:22:42 +0000 (20:22 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 23 May 2009 20:22:42 +0000 (20:22 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28457 f5534014-38df-0310-8fa8-9805f1628bb7

editcap.c

index 09558636f29206a3c083c3cc624843c1c08e64b6..ac9a4a256128db561018e76b87a55d117dc36ff3 100644 (file)
--- a/editcap.c
+++ b/editcap.c
@@ -974,13 +974,13 @@ main(int argc, char *argv[])
         block_start.secs = phdr->ts.secs;
         block_start.nsecs = phdr->ts.nsecs;
 
-      if (split_packet_count > 0 || secs_per_block > 0) {
-        if (!fileset_extract_prefix_suffix(argv[optind+1], &fprefix, &fsuffix))
-            exit(5);
+        if (split_packet_count > 0 || secs_per_block > 0) {
+          if (!fileset_extract_prefix_suffix(argv[optind+1], &fprefix, &fsuffix))
+              exit(5);
 
-        filename = fileset_get_filename_by_pattern(block_cnt++, &phdr->ts, fprefix, fsuffix);
-      } else
-        filename = g_strdup(argv[optind+1]);
+          filename = fileset_get_filename_by_pattern(block_cnt++, &phdr->ts, fprefix, fsuffix);
+        } else
+          filename = g_strdup(argv[optind+1]);
 
         pdh = wtap_dump_open(filename, out_file_type,
             out_frame_type, wtap_snapshot_length(wth),