[network-manager-openvpn/th/ovpn-import-bgo761285] fixup! properties: add args_parse_line() function to parse lines in openvpn configuration files



commit fc7c2640a734836373404e75bcc44d381c380a9f
Author: Dan Williams <dcbw redhat com>
Date:   Fri Feb 5 14:31:21 2016 -0600

    fixup! properties: add args_parse_line() function to parse lines in openvpn configuration files
    
    test-import-export.c: In function ‘do_test_args_parse_impl’:
    test-import-export.c:1340:2: error: second parameter of ‘va_start’ not last named argument 
[-Werror=varargs]
      va_start (ap, len);
      ^

 properties/tests/test-import-export.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/properties/tests/test-import-export.c b/properties/tests/test-import-export.c
index 7b51830..69dc691 100644
--- a/properties/tests/test-import-export.c
+++ b/properties/tests/test-import-export.c
@@ -1415,7 +1415,7 @@ do_test_args_parse_impl (const char *line,
        gs_free char *line_again = NULL;
        gsize len;
 
-       va_start (ap, len);
+       va_start (ap, expects_success);
        i = 0;
        do {
                s = va_arg (ap, const char *);


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