]> git.armaanb.net Git - sic.git/commitdiff
applied Dimitris patches, thanks
authorAnselm R Garbe <anselm@garbe.us>
Sun, 6 Mar 2011 07:37:21 +0000 (07:37 +0000)
committerAnselm R Garbe <anselm@garbe.us>
Sun, 6 Mar 2011 07:37:21 +0000 (07:37 +0000)
Makefile
sic.c

index ff1f07cf13e29b74cc16a7543d936c61a8d53d63..d77b4f218721fef253b1261598b0037dc8d731dd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ options:
        @echo CC $<
        @${CC} -c ${CFLAGS} $<
 
        @echo CC $<
        @${CC} -c ${CFLAGS} $<
 
-${OBJ}: config.mk
+${OBJ}: config.mk util.c
 
 sic: ${OBJ}
        @echo CC -o $@
 
 sic: ${OBJ}
        @echo CC -o $@
diff --git a/sic.c b/sic.c
index 9b0b36ae533a7c9e8dca36b7607c6312ab5feb12..f4e2d3dd7413e0bd3d3023c45f44c1cb2eb4b7e5 100644 (file)
--- a/sic.c
+++ b/sic.c
@@ -9,7 +9,7 @@
 #include <unistd.h>
 
 static char *host = "irc.oftc.net";
 #include <unistd.h>
 
 static char *host = "irc.oftc.net";
-static char *port = "ircd";
+static char *port = "6667";
 static char *password;
 static char nick[32];
 static char bufin[4096];
 static char *password;
 static char nick[32];
 static char bufin[4096];