aboutsummaryrefslogtreecommitdiff
path: root/plugins/libre_redirect
diff options
context:
space:
mode:
authorNunoSempere <nuno.sempere@protonmail.com>2023-06-17 00:29:27 -0600
committerNunoSempere <nuno.sempere@protonmail.com>2023-06-17 00:29:27 -0600
commit98f6d5630f6be4f955e308a5c1a91749f8cf7300 (patch)
treef04a500810ec9190fc5cb095c46add839d4f06bf /plugins/libre_redirect
parent1cf68bb1fe2ebabb470dc072f300fbf7d3f7d5fa (diff)
alerts v2, formatting
Diffstat (limited to 'plugins/libre_redirect')
-rw-r--r--plugins/libre_redirect/libre_redirect.c4
-rw-r--r--plugins/libre_redirect/str_init.c1
2 files changed, 2 insertions, 3 deletions
diff --git a/plugins/libre_redirect/libre_redirect.c b/plugins/libre_redirect/libre_redirect.c
index 13831fd..8bafded 100644
--- a/plugins/libre_redirect/libre_redirect.c
+++ b/plugins/libre_redirect/libre_redirect.c
@@ -32,7 +32,7 @@ int libre_redirect(const char* uri, char* output)
char* annoying_sites[] = {
"https://www.reddit.com",
"https://www.youtube.com",
- "https://google.com"
+ "https://google.com"
"https://medium.com",
"https://translate.google.com",
"https://www.bloomberg.com",
@@ -43,7 +43,7 @@ int libre_redirect(const char* uri, char* output)
char* alternatives[] = {
"https://teddit.nunosempere.com",
"https://yt.artemislena.eu",
- "https://search.nunosempere.com"
+ "https://search.nunosempere.com"
"https://scribe.rip",
"https://translate.riverside.rocks/",
"https://archive.is/https://www.bloomberg.com",
diff --git a/plugins/libre_redirect/str_init.c b/plugins/libre_redirect/str_init.c
index edbe2ab..3fc548c 100644
--- a/plugins/libre_redirect/str_init.c
+++ b/plugins/libre_redirect/str_init.c
@@ -4,4 +4,3 @@ void str_init(char* str, int n)
str[i] = ' ';
str[n] = '\0';
} // could also use <https://manpages.ubuntu.com/manpages/impish/man3/strinit.3pub.html>
-