commit 18336dbcbc242515690d14b490c972dc9b8acaad
Author: Kylie McClain <[email protected]>
Date:   Sat Mar 14 22:31:21 2015 -0400

    fix ssl patch formatting. doesn't apply correctly otherwise.

diff --git a/tools.suckless.org/ii/patches/ii-1.7-ssl.diff 
b/tools.suckless.org/ii/patches/ii-1.7-ssl.diff
index 5234d73..6ce7a28 100644
--- a/tools.suckless.org/ii/patches/ii-1.7-ssl.diff
+++ b/tools.suckless.org/ii/patches/ii-1.7-ssl.diff
@@ -89,14 +89,15 @@ diff -up a/ii.c b/ii.c
 -static int tcpopen(unsigned short port) {
 +conn *tcpopen(unsigned short port) {
        int fd;
-+    conn *c;
-       struct sockaddr_in sin;
-       struct hostent *hp = gethostbyname(host);
++      conn *c;
+       struct addrinfo req, *res, *orig_res;
+       char service[6];
  
 @@ -172,7 +185,22 @@ static int tcpopen(unsigned short port)
                perror("ii: cannot connect to host");
                exit(EXIT_FAILURE);
        }
+
 -      return fd;
 +      c = malloc(sizeof(conn));
 +      c->irc = fd;


Reply via email to