aboutsummaryrefslogtreecommitdiff
path: root/bee.c
blob: f7d1270b17db94263a1952bc152bc99af5b1002c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "irc.h"

#include <stdio.h>


int
main()
{
	if (!irc_connect()) { fputs("irc_connect\n",stderr); return 1; }
	if (!irc_handshake()) { fputs("irc_handshake\n",stderr); return 1; }

	int x;
	do {
		x = irc_recv();
	} while (!x);

	return 0;
}