summaryrefslogtreecommitdiff
path: root/tests/unit
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 16:05:30 +0200
commit0e607542dca1247217997184224fc1a779778166 (patch)
tree104bc925f4d51abb088953cc35de96ee33e9e610 /tests/unit
parent529add48bc2a8e66bdbc1926e7708535dd5317a2 (diff)
downloadcurl-0e607542dca1247217997184224fc1a779778166.tar.gz
cleanup: insert newline after if() conditions
Our code style mandates we put the conditional block on a separate line. These mistakes are now detected by the updated checksrc.
Diffstat (limited to 'tests/unit')
-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