diff --git a/editcap.c b/editcap.c index 5d162c31be..187b1e2211 100644 --- a/editcap.c +++ b/editcap.c @@ -339,7 +339,7 @@ selected(guint recno) } } - return 0; + return 0; } static gboolean @@ -969,9 +969,9 @@ framenum_compare(gconstpointer a, gconstpointer b, gpointer user_data _U_) static void failure_warning_message(const char *msg_format, va_list ap) { - fprintf(stderr, "editcap: "); - vfprintf(stderr, msg_format, ap); - fprintf(stderr, "\n"); + fprintf(stderr, "editcap: "); + vfprintf(stderr, msg_format, ap); + fprintf(stderr, "\n"); } /* @@ -980,25 +980,25 @@ failure_warning_message(const char *msg_format, va_list ap) static void failure_message_cont(const char *msg_format, va_list ap) { - vfprintf(stderr, msg_format, ap); - fprintf(stderr, "\n"); + vfprintf(stderr, msg_format, ap); + fprintf(stderr, "\n"); } static wtap_dumper * editcap_dump_open(const char *filename, const wtap_dump_params *params, int *write_err) { - wtap_dumper *pdh; + wtap_dumper *pdh; - if (strcmp(filename, "-") == 0) { - /* Write to the standard output. */ - pdh = wtap_dump_open_stdout(out_file_type_subtype, WTAP_UNCOMPRESSED, - params, write_err); - } else { - pdh = wtap_dump_open(filename, out_file_type_subtype, WTAP_UNCOMPRESSED, - params, write_err); - } - return pdh; + if (strcmp(filename, "-") == 0) { + /* Write to the standard output. */ + pdh = wtap_dump_open_stdout(out_file_type_subtype, WTAP_UNCOMPRESSED, + params, write_err); + } else { + pdh = wtap_dump_open(filename, out_file_type_subtype, WTAP_UNCOMPRESSED, + params, write_err); + } + return pdh; } int