summaryrefslogtreecommitdiff
path: root/tests/unit/unit1394.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-03-30 10:55:31 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-03-30 11:21:32 +0200
commite7f0c31446c4f1a38198f9db6fd16e60d7b9c52a (patch)
treeae5774184c3bd511ae00b2b8584aa3da6f8aa625 /tests/unit/unit1394.c
parent99b126113b2f35c5b7fac3efb006213ad13666ed (diff)
downloadcurl-e7f0c31446c4f1a38198f9db6fd16e60d7b9c52a.tar.gz
cleanup: insert newline after if() conditionbagder/checksrc-onelinecondition
Our code style mandates we put the conditional block on a separate line. These mistakes were detected by the updated checksrc.
Diffstat (limited to 'tests/unit/unit1394.c')
-rw-r--r--tests/unit/unit1394.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/unit/unit1394.c b/tests/unit/unit1394.c
index 6855fc7ab..d6644f8eb 100644
--- a/tests/unit/unit1394.c
+++ b/tests/unit/unit1394.c
@@ -122,8 +122,10 @@ UNITTEST_START
fail("assertion failure");
}
}
- if(certname) free(certname);
- if(passphrase) free(passphrase);
+ if(certname)
+ free(certname);
+ if(passphrase)
+ free(passphrase);
}
UNITTEST_STOP