about summary refs log tree commit diff
path: root/src/nm-keep-alive.c
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2019-03-12 15:13:33 +0100
committerSebastien Bacher <seb128@ubuntu.com>2019-03-12 15:13:33 +0100
commitdd428301eb6f02542015121d7b08d9997f137e50 (patch)
tree5530189f63510287d65268fc36025bdbc9414c00 /src/nm-keep-alive.c
parentbbae86d3d2997a853ca0365e8eb7a3ca7489ee09 (diff)
New upstream version 1.15.91
Diffstat (limited to 'src/nm-keep-alive.c')
-rw-r--r--src/nm-keep-alive.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nm-keep-alive.c b/src/nm-keep-alive.c
index e601483b..cfec138a 100644
--- a/src/nm-keep-alive.c
+++ b/src/nm-keep-alive.c
@@ -23,8 +23,6 @@
 
 #include "nm-keep-alive.h"
 
-#include <string.h>
-
 #include "settings/nm-settings-connection.h"
 
 /*****************************************************************************/
@@ -98,7 +96,7 @@ _is_alive (NMKeepAlive *self)
 		/* the D-Bus client is gone. The only other binding (below) for the connection's
 		 * visibility cannot keep the instance alive.
 		 *
-		 * As such, a D-Bus client watch is authorative and overrules other conditions (that
+		 * As such, a D-Bus client watch is authoritative and overrules other conditions (that
 		 * we have so far). */
 		return FALSE;
 	}
@@ -470,7 +468,7 @@ _nm_keep_alive_set_owner (NMKeepAlive *self,
 	nm_assert (!owner || !priv->owner);
 
 	/* optimally, we would take a reference to @owner. But the
-	 * owner already owns a refrence to the keep-alive, so we cannot
+	 * owner already owns a reference to the keep-alive, so we cannot
 	 * just own a reference back.
 	 *
 	 * We could register a weak-pointer here. But instead, declare that