equal
deleted
inserted
replaced
3 #include "log.h" |
3 #include "log.h" |
4 |
4 |
5 #include <time.h> |
5 #include <time.h> |
6 #include <assert.h> |
6 #include <assert.h> |
7 |
7 |
8 void irc_net_disconnect (struct irc_net *net, struct error_info *err) |
8 void irc_net_disconnect (struct irc_net *net) |
9 { |
9 { |
10 struct irc_chan *chan = NULL; |
10 struct irc_chan *chan = NULL; |
11 |
|
12 (void) err; |
|
13 |
11 |
14 // mark |
12 // mark |
15 net->connected = false; |
13 net->connected = false; |
16 |
14 |
17 // destroy connection and set NULL |
15 // destroy connection and set NULL |