[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:30:50 +0000 (UTC)
commit 86d97f18343135c3f756bb33654074834481c758
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 a3758a6..2cd143d 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]