diff options
author | Epoch Qwert <epoch@53flpnlls43fcguy.onion> | 2014-10-26 01:33:49 -0500 |
---|---|---|
committer | Epoch Qwert <epoch@53flpnlls43fcguy.onion> | 2014-10-26 01:33:49 -0500 |
commit | 135482f52e2bcb14592ba60f97ea60088aa39275 (patch) | |
tree | 2be6fd6bade6e2f25092e35f9a9b67c7b26a4158 /libirc/libirc.c | |
parent | d12cc17afd5ee2c9b589cf5ceb632a98e6f31ecf (diff) | |
download | segfault-135482f52e2bcb14592ba60f97ea60088aa39275.tar.gz segfault-135482f52e2bcb14592ba60f97ea60088aa39275.zip |
Made segfault compile without warnings again. This time with -std=c99. You know how to read Makefiles.
Diffstat (limited to 'libirc/libirc.c')
-rw-r--r-- | libirc/libirc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libirc/libirc.c b/libirc/libirc.c index a9fe758..91ff357 100644 --- a/libirc/libirc.c +++ b/libirc/libirc.c @@ -12,7 +12,7 @@ //#define DEBUG "epoch" //nick or channel to send debug info to. #define CHUNK 16 -static int serverConnect(char *serv,char *port) { +int serverConnect(char *serv,char *port) { struct addrinfo hints, *servinfo, *p; int rv; int fd=0; |