summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-11-23 08:30:18 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-11-24 23:58:22 +0100
commit8657c268e1938c4bd9200b7f5ab69ba156310403 (patch)
tree99d43e4150f9f57a1b62f3439da028fa38e55769 /tests/unit
parentec0a5c96ac2f31d09651f04c8b24a30d1f6fa118 (diff)
downloadcurl-8657c268e1938c4bd9200b7f5ab69ba156310403.tar.gz
checksrc: white space edits to comply to stricter checksrc
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/unit1304.c2
-rw-r--r--tests/unit/unit1602.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/unit1304.c b/tests/unit/unit1304.c
index 11bba390f..83375f55d 100644
--- a/tests/unit/unit1304.c
+++ b/tests/unit/unit1304.c
@@ -48,7 +48,7 @@ static void unit_stop(void)
UNITTEST_START
int result;
- static const char* const filename1 = "log/netrc1304";
+ static const char * const filename1 = "log/netrc1304";
memcpy(filename, filename1, strlen(filename1));
/*
diff --git a/tests/unit/unit1602.c b/tests/unit/unit1602.c
index c67c0a555..5f1ee9f47 100644
--- a/tests/unit/unit1602.c
+++ b/tests/unit/unit1602.c
@@ -32,7 +32,7 @@ static struct curl_hash hash_static;
static void mydtor(void *p)
{
- int *ptr = (int*)p;
+ int *ptr = (int *)p;
free(ptr);
}