Skip to content

Commit

Permalink
Whitespace cleanups
Browse files Browse the repository at this point in the history
Remove trailing blanks; put whitespace around operators as
appropriate.

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
nickandrew authored and David Woodhouse committed Apr 9, 2009
1 parent 7b9dfa8 commit 222d145
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Empty file modified COPYING.LGPL
Whitespace-only changes.
Empty file modified README.SecurID
Whitespace-only changes.
Empty file modified cstp.c
Whitespace-only changes.
Empty file modified dtls.c
Whitespace-only changes.
3 changes: 2 additions & 1 deletion http.c
Expand Up @@ -722,7 +722,8 @@ int openconnect_obtain_cookie(struct openconnect_info *vpninfo)
if (request_body_type)
sprintf(buf + strlen(buf), "%s", request_body);

vpninfo->progress(vpninfo, PRG_INFO, "%s %s/%s\n", method, vpninfo->hostname, vpninfo->urlpath?:"");
vpninfo->progress(vpninfo, PRG_INFO, "%s %s/%s\n", method,
vpninfo->hostname, vpninfo->urlpath ?: "");

SSL_write(vpninfo->https_ssl, buf, strlen(buf));

Expand Down
4 changes: 3 additions & 1 deletion main.c
Expand Up @@ -352,7 +352,9 @@ int main(int argc, char **argv)
vpninfo->progress(vpninfo, PRG_INFO,
"Connected %s as %s, using %s\n", vpninfo->ifname,
vpninfo->vpn_addr,
(vpninfo->dtls_fd==-1)?(vpninfo->deflate?"SSL + deflate":"SSL"):"DTLS");
(vpninfo->dtls_fd == -1) ?
(vpninfo->deflate ? "SSL + deflate" : "SSL")
: "DTLS");

vpn_mainloop(vpninfo);
exit(1);
Expand Down
Empty file modified mainloop.c
Whitespace-only changes.
Empty file modified nm-auth-dialog.c
Whitespace-only changes.
Empty file modified openconnect.h
Whitespace-only changes.
Empty file modified ssl.c
Whitespace-only changes.
Empty file modified tun.c
Whitespace-only changes.
Empty file modified version.sh
Whitespace-only changes.
Empty file modified xml.c
Whitespace-only changes.

0 comments on commit 222d145

Please sign in to comment.