[wiki] [sites] wiki updated

From: <hg_AT_suckless.org>
Date: Sat, 31 Jul 2010 18:36:52 +0000 (UTC)

changeset: 601:275796b5093a
tag: tip
user: Hunter Haugen <h.haugen_AT_google.com>
date: Sat Jul 31 11:37:42 2010 -0700
files: tools.suckless.org/ii/patches/ii-1.4-ssl.diff
description:
Updating ssl ii patch for default port bugfix.


diff -r 6a88feff8dd6 -r 275796b5093a tools.suckless.org/ii/patches/ii-1.4-ssl.diff
--- a/tools.suckless.org/ii/patches/ii-1.4-ssl.diff Thu Jul 29 09:30:13 2010 +1200
+++ b/tools.suckless.org/ii/patches/ii-1.4-ssl.diff Sat Jul 31 11:37:42 2010 -0700
_AT_@ -1,6 +1,6 @@
 diff -r d93eaacde742 config.mk
 --- a/config.mk Fri Jun 25 10:55:05 2010 +0200
-+++ b/config.mk Sun Jul 25 16:15:31 2010 -0700
++++ b/config.mk Sat Jul 31 11:32:04 2010 -0700
 _AT_@ -16,7 +16,7 @@
  
  # includes and libs
_AT_@ -12,7 +12,7 @@
  #CFLAGS = -g ${INCLUDES} -DVERSION=\"${VERSION}\"
 diff -r d93eaacde742 ii.1
 --- a/ii.1 Fri Jun 25 10:55:05 2010 +0200
-+++ b/ii.1 Sun Jul 25 16:15:31 2010 -0700
++++ b/ii.1 Sat Jul 31 11:32:04 2010 -0700
 _AT_@ -25,6 +25,8 @@
  .IR servername ]
  .RB [ \-p
_AT_@ -35,7 +35,7 @@
  (be aware of the problem that this is visible in the process list, if you
 diff -r d93eaacde742 ii.c
 --- a/ii.c Fri Jun 25 10:55:05 2010 +0200
-+++ b/ii.c Sun Jul 25 16:15:31 2010 -0700
++++ b/ii.c Sat Jul 31 11:32:04 2010 -0700
 _AT_@ -19,6 +19,9 @@
  #include <ctype.h>
  #include <time.h>
_AT_@ -216,16 +216,19 @@
                          handle_server_output();
                          last_response = time(NULL);
                  }
-_AT_@ -481,9 +514,12 @@
+_AT_@ -478,12 +511,15 @@
+ case 'i': snprintf(prefix,sizeof(prefix),"%s", argv[++i]); break;
+ case 's': host = argv[++i]; break;
+ case 'p': port = strtol(argv[++i], NULL, 10); break;
++ case 'e': use_ssl = 1; ++i; break;
                          case 'n': snprintf(nick,sizeof(nick),"%s", argv[++i]); break;
                          case 'k': key = argv[++i]; break;
                          case 'f': fullname = argv[++i]; break;
-+ case 'e': use_ssl = 1; break;
                          default: usage(); break;
                  }
          }
 + if(use_ssl)
-+ port = port == SERVER_PORT ? SSL_SERVER_PORT : SERVER_PORT;
++ port = port == SERVER_PORT ? SSL_SERVER_PORT : port;
          irc = tcpopen(port);
          if(!snprintf(path, sizeof(path), "%s/%s", prefix, host)) {
                  fprintf(stderr, "%s", "ii: path to irc directory too long\n");
Received on Sat Jul 31 2010 - 20:36:52 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 13 2012 - 19:31:24 CEST