From 5d1bce667f97244718bbeaff42bade637782c6ba Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Thu, 20 Aug 2020 06:42:18 -0400 Subject: whitespace fixes --- util.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'util.c') diff --git a/util.c b/util.c index 3e6a99c..01fbe65 100644 --- a/util.c +++ b/util.c @@ -92,12 +92,12 @@ int parse_local_port_forward(char *string, int *local_port, char **hostname, int /* First replace all @ with :, ':' is forbidden in some environments */ char *p = string; - while(*p) - { + while(*p) + { if(*p == '@') *p = ':'; p++; } - + lport = strtok(string, ":"); host = strtok(NULL, ":"); rport = strtok(NULL, ":"); @@ -123,12 +123,12 @@ int parse_pipe_port_forward(char *string, char **hostname, int *remote_port) /* First replace all @ with :, ':' is forbidden in some environments */ char *p = string; - while(*p) - { + while(*p) + { if(*p == '@') *p = ':'; p++; } - + host = strtok(string, ":"); rport = strtok(NULL, ":"); -- cgit v1.2.3