summaryrefslogtreecommitdiff
path: root/lib/telnet.c
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 /lib/telnet.c
parentec0a5c96ac2f31d09651f04c8b24a30d1f6fa118 (diff)
downloadcurl-8657c268e1938c4bd9200b7f5ab69ba156310403.tar.gz
checksrc: white space edits to comply to stricter checksrc
Diffstat (limited to 'lib/telnet.c')
-rw-r--r--lib/telnet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/telnet.c b/lib/telnet.c
index c37242db6..ddf3d3b9a 100644
--- a/lib/telnet.c
+++ b/lib/telnet.c
@@ -1004,7 +1004,7 @@ static void sendsuboption(struct connectdata *conn, int option)
ssize_t bytes_written;
int err;
unsigned short x, y;
- unsigned char*uc1, *uc2;
+ unsigned char *uc1, *uc2;
struct Curl_easy *data = conn->data;
struct TELNET *tn = (struct TELNET *)data->req.protop;
@@ -1020,8 +1020,8 @@ static void sendsuboption(struct connectdata *conn, int option)
/* Window size must be sent according to the 'network order' */
x=htons(tn->subopt_wsx);
y=htons(tn->subopt_wsy);
- uc1 = (unsigned char*)&x;
- uc2 = (unsigned char*)&y;
+ uc1 = (unsigned char *)&x;
+ uc2 = (unsigned char *)&y;
CURL_SB_ACCUM(tn, uc1[0]);
CURL_SB_ACCUM(tn, uc1[1]);
CURL_SB_ACCUM(tn, uc2[0]);