diff options
author | NunoSempere <nuno.semperelh@protonmail.com> | 2024-03-23 17:48:42 -0300 |
---|---|---|
committer | NunoSempere <nuno.semperelh@protonmail.com> | 2024-03-23 17:48:42 -0300 |
commit | 5097a1982bb7687b778255c9321407642320d24a (patch) | |
tree | 23a771f3c613753a594509fe74851eae7b38e61a /plugins/libre_redirect | |
parent | 978c7ca1ccda4fc1138c607b2ffaa9fede60bf08 (diff) |
formatting & tweaks pass
Diffstat (limited to 'plugins/libre_redirect')
-rw-r--r-- | plugins/libre_redirect/libre_redirect.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/plugins/libre_redirect/libre_redirect.c b/plugins/libre_redirect/libre_redirect.c index e6ec5fc..a4fabdf 100644 --- a/plugins/libre_redirect/libre_redirect.c +++ b/plugins/libre_redirect/libre_redirect.c @@ -49,17 +49,17 @@ int libre_redirect(const char* uri, char* output) int replace_check = str_replace_start(uri, annoying_sites[i], alternatives[i], output); switch (replace_check) { - case 0: // no match found - break; - case 1: // str_replace_start somehow failed - printf("str_replace_start failed\n"); - return 1; - break; - case 2: // match succeeded - return 2; - break; - default: - printf("Unreachable state"); + case 0: // no match found + break; + case 1: // str_replace_start somehow failed + printf("str_replace_start failed\n"); + return 1; + break; + case 2: // match succeeded + return 2; + break; + default: + printf("Unreachable state"); } } strcpy(output, uri); |