Commit ad6e2807 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

removed space after if and while before the parenthesis for better source code

consistency
parent af29dcba
Loading
Loading
Loading
Loading
+34 −34
Original line number Diff line number Diff line
@@ -2035,7 +2035,7 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)

    if(((conn->protocol&PROT_HTTPS) && (conn->remote_port == PORT_HTTPS)) ||
       (!(conn->protocol&PROT_HTTPS) && (conn->remote_port == PORT_HTTP)) )
      /* If (HTTPS on port 443) OR (non-HTTPS on port 80) then don't include
      /* if(HTTPS on port 443) OR (non-HTTPS on port 80) then don't include
         the port number in the host string */
      conn->allocptr.host = aprintf("Host: %s%s%s\r\n",
                                    conn->bits.ipv6_ip?"[":"",
+24 −22
Original line number Diff line number Diff line
@@ -122,12 +122,14 @@ inet_pton4(const char *src, unsigned char *dst)
          return (0);
        saw_digit = 1;
      }
    } else if (ch == '.' && saw_digit) {
    }
    else if(ch == '.' && saw_digit) {
      if(octets == 4)
        return (0);
      *++tp = 0;
      saw_digit = 0;
    } else
    }
    else
      return (0);
  }
  if(octets < 4)
+25 −25
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
 *                            | (__| |_| |  _ <| |___
 *                             \___|\___/|_| \_\_____|
 *
 * Copyright (C) 1997 - 2006, Daniel Stenberg, <daniel@haxx.se>, et al.
 * Copyright (C) 1997 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
 *
 * This software is licensed as described in the file COPYING, which
 * you should have received as part of this distribution. The terms
+37 −37

File changed.

Contains only whitespace changes.

+96 −96

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+69 −69

File changed.

Contains only whitespace changes.

+39 −39

File changed.

Contains only whitespace changes.

+25 −25

File changed.

Contains only whitespace changes.

+26 −26

File changed.

Contains only whitespace changes.

+57 −57

File changed.

Contains only whitespace changes.

+32 −32

File changed.

Contains only whitespace changes.

+23 −23

File changed.

Contains only whitespace changes.

+78 −78

File changed.

Contains only whitespace changes.

+55 −55

File changed.

Contains only whitespace changes.

+34 −34

File changed.

Contains only whitespace changes.

+75 −75

File changed.

Contains only whitespace changes.

+28 −28

File changed.

Contains only whitespace changes.

+64 −64

File changed.

Contains only whitespace changes.

+22 −22

File changed.

Contains only whitespace changes.

+68 −68

File changed.

Contains only whitespace changes.

+33 −33

File changed.

Contains only whitespace changes.

+101 −101

File changed.

Contains only whitespace changes.

+24 −24

File changed.

Contains only whitespace changes.

Loading