Browse Source

Merge pull request #33 from jazd/fqdname

Stray line feed in fqdname
ahc_fix_select^2
Adrian Chadd 6 years ago
committed by GitHub
parent
commit
e9eca011f8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/conn.c

+ 1
- 0
src/conn.c View File

@@ -112,6 +112,7 @@ conn_init(Conn *conn)
conn->sd = -1; conn->sd = -1;
conn->myport = -1; conn->myport = -1;
conn->line.iov_base = conn->line_buf; conn->line.iov_base = conn->line_buf;
conn->fqdname_len = strcspn(conn->fqdname,"\r\n"); // Chomp since used in Host header record


#ifdef HAVE_SSL #ifdef HAVE_SSL
if (param.use_ssl) { if (param.use_ssl) {


Loading…
Cancel
Save