Browse code

pull request #53(4/4): Spelling fix by klemens(ka7).

Steven Morgan authored on 2016/10/20 05:33:48
Showing 2 changed files
... ...
@@ -191,7 +191,7 @@ help (void)
191 191
     mprintf
192 192
         ("    --on-update-execute=COMMAND          execute COMMAND after successful update\n");
193 193
     mprintf
194
-        ("    --on-error-execute=COMMAND           execute COMMAND if errors occured\n");
194
+        ("    --on-error-execute=COMMAND           execute COMMAND if errors occurred\n");
195 195
     mprintf
196 196
         ("    --on-outdated-execute=COMMAND        execute COMMAND when software is outdated\n");
197 197
     mprintf
... ...
@@ -66,9 +66,9 @@ void recvlninit(struct RCVLN *s, int sockd) {
66 66
 /* Receives a full (terminated with \0) line from a socket
67 67
  * Sets rbol to the begin of the received line, and optionally 
68 68
  * reol to the end of line.
69
- * Should be called repeatedly untill all input is consumed
69
+ * Should be called repeatedly until all input is consumed
70 70
  * Returns:
71
- * - the lenght of the line (a positive number) on success
71
+ * - the length of the line (a positive number) on success
72 72
  * - 0 if the connection is closed
73 73
  * - -1 on error
74 74
  */