[network-manager-libreswan/lr/main-mode: 2/5] import/export: add a terminating newline



commit e3c8b338d0e511a8b208627de34295d7321185dc
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Mon Jan 25 10:15:00 2016 +0100

    import/export: add a terminating newline
    
    A comspetic thing.

 common/utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/common/utils.c b/common/utils.c
index 53c3878..5d573f4 100644
--- a/common/utils.c
+++ b/common/utils.c
@@ -150,7 +150,7 @@ nm_libreswan_config_write (gint fd,
         * libreswan fails parsing the configuration if you include the \n.
         * WTF?
         */
-       if (openswan)
+       if (openswan || !bus_name)
                (void) write (fd, "\n", 1);
        if (debug)
                g_print ("\n");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]