From: Banana Date: Sun, 27 Feb 2022 12:12:07 +0000 (+0100) Subject: some typos X-Git-Tag: 1.5~16 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=25ee342049d005130652fed32acf57aa5c9234ac;p=selfpaste.git some typos --- diff --git a/client/bash/selfpaste.default.sh b/client/bash/selfpaste.default.sh index 65dea84..45d569a 100644 --- a/client/bash/selfpaste.default.sh +++ b/client/bash/selfpaste.default.sh @@ -18,7 +18,7 @@ if [ $# -lt 1 ]; then fi; ENDPOINT="http://your.tld/selfpaste/webroot/"; -SELFPASTE_UPLOAD_SECRET="PLEASE CHANGE YOUR SECRET TO SOMTHING"; +SELFPASTE_UPLOAD_SECRET="PLEASE CHANGE YOUR SECRET TO SOMETHING ELSE"; FILENAME="$1"; @@ -40,4 +40,4 @@ if [[ -r $FILENAME ]]; then else echo "Provided file is not accessable." exit 3; -fi; \ No newline at end of file +fi; diff --git a/client/c-client-linux/selfpaste.c b/client/c-client-linux/selfpaste.c index 9fc0607..aa70376 100644 --- a/client/c-client-linux/selfpaste.c +++ b/client/c-client-linux/selfpaste.c @@ -5,7 +5,7 @@ * COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 * along with this program. If not, see http://www.sun.com/cddl/cddl.html * - * 2019 - 2020 https://://www.bananas-playground.net/projekt/selfpaste + * 2019 - 2022 https://://www.bananas-playground.net/projekt/selfpaste */ /** @@ -33,7 +33,7 @@ * see: https://www.gnu.org/software/libc/manual/html_node/Argp-Example-3.html#Argp-Example-3 */ const char *argp_program_version = "1.1"; -const char *argp_program_bug_address = "https://://www.bananas-playground.net/projekt/selfpaste"; +const char *argp_program_bug_address = "https://www.bananas-playground.net/projekt/selfpaste"; static char doc[] = "selfpaste. Upload given file to your selfpaste installation."; static char args_doc[] = "file"; @@ -300,7 +300,7 @@ int main(int argc, char *argv[]) { fprintf(fp, "# See %s for more details.\n", argp_program_bug_address); fprintf(fp, "# Version: %s\n", argp_program_version); fprintf(fp, "SELFPASTE_UPLOAD_SECRET=%s\n", randomString(50)); - fputs("ENDPOINT=http://you-seflpaste-endpoi.nt\n", fp); + fputs("ENDPOINT=http://your-seflpaste-endpoi.nt\n", fp); fclose(fp); printf("Config file '%s' created.\nPlease update your settings!\n", configFilePath);