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

#include <stdio.h>



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

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

	return 0;
}