]> 91.132.146.200 Git - selfpaste.git/commitdiff
Revert "some typos"
authorBanana <mail@bananas-playground.net>
Sun, 27 Feb 2022 12:13:45 +0000 (13:13 +0100)
committerBanana <mail@bananas-playground.net>
Sun, 27 Feb 2022 12:13:45 +0000 (13:13 +0100)
This reverts commit 25ee342049d005130652fed32acf57aa5c9234ac.

client/bash/selfpaste.default.sh
client/c-client-linux/selfpaste.c

index 45d569a163a5799e8b63d7899cebb9694c172e68..65dea84bbfff84bbf8a290a138dd8f5ba1029878 100644 (file)
@@ -18,7 +18,7 @@ if [ $# -lt 1 ]; then
 fi;
 
 ENDPOINT="http://your.tld/selfpaste/webroot/";
-SELFPASTE_UPLOAD_SECRET="PLEASE CHANGE YOUR SECRET TO SOMETHING ELSE";
+SELFPASTE_UPLOAD_SECRET="PLEASE CHANGE YOUR SECRET TO SOMTHING";
 
 FILENAME="$1";
 
@@ -40,4 +40,4 @@ if [[ -r $FILENAME  ]]; then
 else
   echo "Provided file is not accessable."
   exit 3;
-fi;
+fi;
\ No newline at end of file
index aa70376d7171428171770a630c46ab473392eb07..9fc0607cf6042b955e4c4b1d4e2bde6b25a36a06 100644 (file)
@@ -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 - 2022 https://://www.bananas-playground.net/projekt/selfpaste
+ * 2019 - 2020 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://your-seflpaste-endpoi.nt\n", fp);
+                fputs("ENDPOINT=http://you-seflpaste-endpoi.nt\n", fp);
                 fclose(fp);
 
                 printf("Config file '%s' created.\nPlease update your settings!\n", configFilePath);