summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-08-04 10:32:27 +0200
committerraveit65 <[email protected]>2020-08-04 11:59:15 +0200
commit30ec060dcb4356bf7aeb4629dbb10f74a77fe5a3 (patch)
treedd0dea772cad29f535d4e26bdf63fc6ea7cae1bd
parent230d984bd4945ab561469d8145116a7f75f3c784 (diff)
downloadengrampa-30ec060dcb4356bf7aeb4629dbb10f74a77fe5a3.tar.bz2
engrampa-30ec060dcb4356bf7aeb4629dbb10f74a77fe5a3.tar.xz
fr-command-unarchiver: Remove trailing spaces
find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/[[:space:]]*$//' {} \; find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/\t*$//' {} \;
-rw-r--r--src/fr-command-unarchiver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fr-command-unarchiver.c b/src/fr-command-unarchiver.c
index 5e2acd4..0a40e6b 100644
--- a/src/fr-command-unarchiver.c
+++ b/src/fr-command-unarchiver.c
@@ -242,7 +242,7 @@ fr_command_unarchiver_handle_error (FrCommand *comm,
char *line = scan->data;
if ((strstr (line, "This archive requires a password to unpack.") != NULL) ||
- (strstr (line, "Failed! (Missing or wrong password)") != NULL)) {
+ (strstr (line, "Failed! (Missing or wrong password)") != NULL)) {
error->type = FR_PROC_ERROR_ASK_PASSWORD;
break;