1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
  
     | 
    
      Description: Fix spelling errors reported by lintian
Author: Valentin Vidic <Valentin.Vidic@CARNet.hr>
Last-Update: 2018-04-18
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/csync2.1
+++ b/csync2.1
@@ -10,7 +10,7 @@
 .IP
 http://www.linbit.com
 .PP
-csync2 is distributed under the GNU public license.
+csync2 is distributed under the GNU General Public License.
 See the file COPYING for details.
 .SH DESCRIPTION
 This manual page documents briefly the
@@ -105,7 +105,7 @@
 The modes \fB\-H\fR, \fB\-L\fR, \fB\-M\fR and \fB\-S\fR return 2 if the requested db is empty.
 The mode \fB\-T\fR returns 2 if both hosts are in sync.
 Otherwise, only exit codes 0 (no errors)
-and 1 (some unspecified errrors) are expected.
+and 1 (some unspecified errors) are expected.
 .SS "Modifiers:"
 .TP
 \fB\-r\fR
--- a/csync2.c
+++ b/csync2.c
@@ -159,7 +159,7 @@
 "	The modes -H, -L, -M and -S return 2 if the requested db is empty.\n"
 "	The mode -T returns 2 if both hosts are in sync.\n"
 "	Otherwise, only exit codes 0 (no errors)\n"
-"	and 1 (some unspecified errrors) are expected.\n"
+"	and 1 (some unspecified errors) are expected.\n"
 "\n"
 "Modifiers:\n"
 "	-r	Recursive operation over subdirectories\n"
--- a/rsync.c
+++ b/rsync.c
@@ -130,7 +130,7 @@
 		if(mkdir(temp, mode)==-1) { //strchr keeps the parent in temp and child[ren] in remaining
 			if(errno != EEXIST) {
 				*remaining='/';
-				csync_debug(1,"error occured while creating path %s; cause : %s",temp,strerror(errno));
+				csync_debug(1,"error occurred while creating path %s; cause : %s",temp,strerror(errno));
 				return -1;
 			}
 		}
--- a/conn.c
+++ b/conn.c
@@ -67,7 +67,7 @@
 	[CR_ERR_PERM_DENIED_FOR_SLAVE] = "Permission denied for slave!",
 	[CR_ERR_PERM_DENIED] = "Permission denied!",
 	[CR_ERR_SSL_EXPECTED] = "SSL encrypted connection expected!",
-	[CR_ERR_UNKNOWN_COMMAND] = "Unkown command!",
+	[CR_ERR_UNKNOWN_COMMAND] = "Unknown command!",
 	[CR_ERR_WIN32_EIO_CREATE_DIR] = "Win32 I/O Error on CreateDirectory()",
 };
 
--- a/doc/csync2.adoc
+++ b/doc/csync2.adoc
@@ -662,7 +662,7 @@
         The modes -H, -L, -M and -S return 2 if the requested db is empty.
         The mode -T returns 2 if both hosts are in sync.
         Otherwise, only exit codes 0 (no errors)
-        and 1 (some unspecified errrors) are expected.
+        and 1 (some unspecified errors) are expected.
 ....
 
 ....
 
     |