[network-manager-openswan/dcbw/libreswan: 5/16] fixup! core: update for non-deprecated libreswan initialization flow
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openswan/dcbw/libreswan: 5/16] fixup! core: update for non-deprecated libreswan initialization flow
- Date: Tue, 2 Dec 2014 01:35:16 +0000 (UTC)
commit 8edafbce07f6dba496b6a91708687e54d791924b
Author: Dan Williams <dcbw redhat com>
Date: Mon Dec 1 19:27:11 2014 -0600
fixup! core: update for non-deprecated libreswan initialization flow
src/nm-openswan-service.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nm-openswan-service.c b/src/nm-openswan-service.c
index 46e097b..c13e497 100644
--- a/src/nm-openswan-service.c
+++ b/src/nm-openswan-service.c
@@ -1016,7 +1016,7 @@ is_libreswan (const char *path)
char *output = NULL;
if (g_spawn_sync (NULL, (char **) argv, NULL, 0, NULL, NULL, &output, NULL, NULL, NULL)) {
- libreswan = !!(output && strcasestr (output, " Libreswan "));
+ libreswan = output && strcasestr (output, " Libreswan ");
g_free (output);
}
return libreswan;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]