--- a/src/nexus.c Sun Feb 22 06:52:55 2009 +0200
+++ b/src/nexus.c Sun Feb 22 07:08:57 2009 +0200
@@ -11,7 +11,7 @@
#include "sock.h"
#define CONNECT_HOST "irc.fixme.fi"
-#define CONNECT_SERV "6697"
+#define CONNECT_SERV "6667"
#define LINE_LENGTH 512
struct recvline_state {
@@ -118,7 +118,9 @@
memset(&recvline_ctx, 0, sizeof(recvline_ctx));
// over-simplified connect
- sock = sock_ssl_connect(CONNECT_HOST, CONNECT_SERV);
+ if (sock_gnutls_connect(&sock, CONNECT_HOST, CONNECT_SERV, &err))
+ // XXX:
+ errx(1, "sock_gnutls_connect");
// read lines and dump them out
do {