aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-03-02 22:43:16 -0800
committerGuy Harris <guy@alum.mit.edu>2018-03-03 06:45:22 +0000
commitc7872232e5661af50368d5d6154db13047320673 (patch)
treeb29369f96b23f64b8ecbb09f9af5db29951287c8
parent39dfda115ae1f89158cc56936db3c110ce1d7ff2 (diff)
More indentation cleanups.
Change-Id: If24cf44a1ba9772d8fe2e026d19e6838cf8e0949 Reviewed-on: https://code.wireshark.org/review/26234 Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r--ui/capture.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/ui/capture.c b/ui/capture.c
index f87198b145..393f2a875a 100644
--- a/ui/capture.c
+++ b/ui/capture.c
@@ -313,8 +313,8 @@ cf_open_error_message(int err, gchar *err_info, gboolean for_writing,
case WTAP_ERR_UNSUPPORTED:
/* Seen only when opening a capture file for reading. */
g_snprintf(errmsg_errno, sizeof(errmsg_errno),
- "The file \"%%s\" contains record data that Wireshark doesn't support.\n"
- "(%s)", err_info != NULL ? err_info : "no information supplied");
+ "The file \"%%s\" contains record data that Wireshark doesn't support.\n"
+ "(%s)", err_info != NULL ? err_info : "no information supplied");
g_free(err_info);
errmsg = errmsg_errno;
break;
@@ -322,8 +322,8 @@ cf_open_error_message(int err, gchar *err_info, gboolean for_writing,
case WTAP_ERR_CANT_WRITE_TO_PIPE:
/* Seen only when opening a capture file for writing. */
g_snprintf(errmsg_errno, sizeof(errmsg_errno),
- "The file \"%%s\" is a pipe, and %s capture files can't be "
- "written to a pipe.", wtap_file_type_subtype_string(file_type));
+ "The file \"%%s\" is a pipe, and %s capture files can't be "
+ "written to a pipe.", wtap_file_type_subtype_string(file_type));
errmsg = errmsg_errno;
break;
@@ -347,8 +347,8 @@ cf_open_error_message(int err, gchar *err_info, gboolean for_writing,
case WTAP_ERR_BAD_FILE:
/* Seen only when opening a capture file for reading. */
g_snprintf(errmsg_errno, sizeof(errmsg_errno),
- "The file \"%%s\" appears to be damaged or corrupt.\n"
- "(%s)", err_info != NULL ? err_info : "no information supplied");
+ "The file \"%%s\" appears to be damaged or corrupt.\n"
+ "(%s)", err_info != NULL ? err_info : "no information supplied");
g_free(err_info);
errmsg = errmsg_errno;
break;
@@ -371,25 +371,25 @@ cf_open_error_message(int err, gchar *err_info, gboolean for_writing,
case WTAP_ERR_DECOMPRESS:
g_snprintf(errmsg_errno, sizeof(errmsg_errno),
- "The compressed file \"%%s\" appears to be damaged or corrupt.\n"
- "(%s)", err_info != NULL ? err_info : "no information supplied");
+ "The compressed file \"%%s\" appears to be damaged or corrupt.\n"
+ "(%s)", err_info != NULL ? err_info : "no information supplied");
g_free(err_info);
errmsg = errmsg_errno;
break;
case WTAP_ERR_DECOMPRESSION_NOT_SUPPORTED:
g_snprintf(errmsg_errno, sizeof(errmsg_errno),
- "We don't support the form of compression used by the compressed file \"%%s\".\n"
- "(%s)", err_info != NULL ? err_info : "no information supplied");
+ "We don't support the form of compression used by the compressed file \"%%s\".\n"
+ "(%s)", err_info != NULL ? err_info : "no information supplied");
g_free(err_info);
errmsg = errmsg_errno;
break;
default:
g_snprintf(errmsg_errno, sizeof(errmsg_errno),
- "The file \"%%s\" could not be %s: %s.",
- for_writing ? "created" : "opened",
- wtap_strerror(err));
+ "The file \"%%s\" could not be %s: %s.",
+ for_writing ? "created" : "opened",
+ wtap_strerror(err));
errmsg = errmsg_errno;
break;
}