Clean up indentation.

Change-Id: I28280eddda1c318ba82ec8f0372e38093abbaa14
Reviewed-on: https://code.wireshark.org/review/32091
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2019-02-18 19:12:27 -08:00
parent ab352c61fd
commit a325c949bc
1 changed files with 16 additions and 16 deletions

View File

@ -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