diff options
author | Guy Harris <guy@alum.mit.edu> | 2009-05-23 20:22:42 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2009-05-23 20:22:42 +0000 |
commit | dc3b1136cc952e4c63a15744dd9d935c25e0eab3 (patch) | |
tree | 258516023a4d4e4b7cc14a17ddab7fba007d0ff5 /editcap.c | |
parent | 6637bf6adf08b4a14059f66e59c9e3a6014a2bc8 (diff) | |
download | wireshark-dc3b1136cc952e4c63a15744dd9d935c25e0eab3.tar.gz |
Fix indentation.
svn path=/trunk/; revision=28457
Diffstat (limited to 'editcap.c')
-rw-r--r-- | editcap.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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), |