diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-19 09:03:43 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-19 09:10:45 +0200 |
commit | 4c772eac025459d848a753a5b7e78721ded80e81 (patch) | |
tree | 936dd52e8590c86e602f7cc6df21ec97269fc2be /sircbot-send.c | |
parent | f0984ed912b0343dd353a35de6d01768e021b217 (diff) | |
download | sircbot-4c772eac025459d848a753a5b7e78721ded80e81.tar.bz2 sircbot-4c772eac025459d848a753a5b7e78721ded80e81.tar.xz |
fix various compiler warnings
Diffstat (limited to 'sircbot-send.c')
-rw-r--r-- | sircbot-send.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sircbot-send.c b/sircbot-send.c index 6f109d3..80a79af 100644 --- a/sircbot-send.c +++ b/sircbot-send.c @@ -2,6 +2,7 @@ #include <sys/socket.h> #include <sys/un.h> +#include <err.h> #include <fcntl.h> #include <stdio.h> #include <unistd.h> @@ -25,7 +26,6 @@ int connect_channel(const char *channel_name) int main(int argc, char *argv[]) { - int i; int fd = connect_channel(argv[1]); char buf[2048]; |