diff options
-rw-r--r-- | unit/test-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unit/test-common.c b/unit/test-common.c index f33f117e..baed1785 100644 --- a/unit/test-common.c +++ b/unit/test-common.c @@ -78,7 +78,7 @@ static void test_invalid() ret = parse_ss_control_string(str, &type, &sc, &sia, &sib, &sic, &sid, &dn); - if (strlen(sid)) + if (ret == TRUE && strlen(sid)) ret = FALSE; g_assert(ret == FALSE); |