diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-12-13 23:34:59 +0100 |
---|---|---|
committer | ng0 <ng0@infotropique.org> | 2017-08-22 15:10:44 +0000 |
commit | b224d5c53fc22dec5f14d741d7a499b4c4c6a446 (patch) | |
tree | 56cb003625f2c83ed9cab56bf05f6bca161f95c7 /lib/tftp.c | |
parent | 30445b2148798f6ffd47534e0cb2e0d5a1cb5d94 (diff) | |
download | gnurl-b224d5c53fc22dec5f14d741d7a499b4c4c6a446.tar.gz gnurl-b224d5c53fc22dec5f14d741d7a499b4c4c6a446.tar.bz2 gnurl-b224d5c53fc22dec5f14d741d7a499b4c4c6a446.zip |
checksrc: stricter no-space-before-paren enforcement
In order to make the code style more uniform everywhere
Diffstat (limited to 'lib/tftp.c')
-rw-r--r-- | lib/tftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tftp.c b/lib/tftp.c index de99c6ef4..f2f834775 100644 --- a/lib/tftp.c +++ b/lib/tftp.c @@ -304,7 +304,7 @@ static unsigned short getrpacketblock(const tftp_packet_t *packet) static size_t Curl_strnlen(const char *string, size_t maxlen) { - const char *end = memchr (string, '\0', maxlen); + const char *end = memchr(string, '\0', maxlen); return end ? (size_t) (end - string) : maxlen; } @@ -1372,7 +1372,7 @@ static CURLcode tftp_setup_connection(struct connectdata * conn) *type = 0; /* it was in the middle of the hostname */ command = Curl_raw_toupper(type[6]); - switch (command) { + switch(command) { case 'A': /* ASCII mode */ case 'N': /* NETASCII mode */ data->set.prefer_ascii = TRUE; |