nmtst: fix nmtst_test_data_unpack() macro
authorThomas Haller <thaller@redhat.com>
Sun, 7 Feb 2016 18:07:38 +0000 (19:07 +0100)
committerThomas Haller <thaller@redhat.com>
Tue, 9 Feb 2016 09:51:33 +0000 (10:51 +0100)
Fixes: e6244814eb82d0c036a506e204878c0c9ccdac72

shared/nm-test-utils.h

index ed31579..19030c5 100644 (file)
@@ -685,7 +685,7 @@ _nmtst_test_data_unpack_detail (const NmtstTestData *test_data, const char **det
        va_end (ap);
 }
 #define nmtst_test_data_unpack_detail(test_data, detail, ...) _nmtst_test_data_unpack_detail(test_data, detail, NM_NARG (__VA_ARGS__), ##__VA_ARGS__)
-#define nmtst_test_data_unpack(test_data, ...)                nmtst_test_data_unpack(test_data, NULL, ##__VA_ARGS__)
+#define nmtst_test_data_unpack(test_data, ...)                nmtst_test_data_unpack_detail(test_data, NULL, ##__VA_ARGS__)
 
 inline static void
 _nmtst_test_data_free (gpointer data)