summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/linkbin8036 -> 0 bytes
-rw-r--r--examples/link.c8
2 files changed, 1 insertions, 7 deletions
diff --git a/examples/link b/examples/link
deleted file mode 100755
index b40b8a9..0000000
--- a/examples/link
+++ /dev/null
Binary files differ
diff --git a/examples/link.c b/examples/link.c
index c175595..680550c 100644
--- a/examples/link.c
+++ b/examples/link.c
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <irc.h>
+#include "../irc.h"
#define mywrite(a,b) write(a,b,strlen(b))
@@ -12,12 +12,6 @@ void extra_handler(int fd) {
return;
}
-struct user {
- char *nick;
- char *user;
- char *host;
-};
-
void privmsg_others(int fd,char *msg) {
int i;
char tmp[512];