Commit Graph

127 Commits

Author SHA1 Message Date
Michael Forney
bf06f14188 Fix traversal of addrinfo list
Although the loop is executed once for every result, in each iteration
it connects to the first result.
2019-05-26 15:38:52 +02:00
Hiltjo Posthuma
dfecb5c0f4 fix typo in NOTICE messages 2019-02-12 18:14:18 +01:00
Hiltjo Posthuma
b25423f765 check input length before reading
thanks halbeno and quinq for the patches and feedback.
2018-07-23 21:42:59 +02:00
Quentin Rameau
51cb204eb2 Add a config option to link against system or shipped strlcpy 2018-06-02 14:25:28 +02:00
Quentin Rameau
e32415744c Refactor Makefile
Declare it as POSIX-compliant
Use $() instead of ${}
Separate stock CFLAGS from user CFLAGS
2018-06-02 14:25:15 +02:00
Hiltjo Posthuma
25ee995ead fix typo in comment
pointed out by halbeno
2018-05-22 08:43:32 +02:00
David Demelier
804cb72666 Remove .hgtags 2018-05-10 11:25:54 +02:00
Hiltjo Posthuma
9288de6126 bump version to 1.8 2018-02-04 14:11:39 +01:00
Quentin Rameau
95963c46eb Makefile: add a dependency on arg.h 2017-12-03 22:34:14 +01:00
Quentin Rameau
fd867aebd1 Fix arg.h 2017-12-03 22:34:14 +01:00
Hiltjo Posthuma
31b2445000 don't modify argv, use a counter
on some platforms (OpenBSD) this changes the exposed argv in tools
using the kvm_* interface, such as ps and pgrep.
2017-11-18 12:35:33 +01:00
Hiltjo Posthuma
0fedff44e3 Makefile: simplify 2017-11-18 12:28:30 +01:00
Hiltjo Posthuma
bb1e5569d0 allow some more characters in the channel name 2017-07-09 12:28:08 +02:00
Hiltjo Posthuma
704ab925e9 merge my changes to master
Special thanks to:
- Wolfgang Corcoran-Mathe for sending patches and testing.
- Nico Golde for maintaining ii for so long.
2017-06-02 09:54:54 +02:00
Nico Golde
714bd0cb6a define EXIT_TIMEOUT and use that on ping timeouts. thanks Evan Gates for the idea! 2016-10-13 15:21:47 -07:00
Nico Golde
f8f3a096bc errm eprint isnt declared here. thanks Ali H. Fardan 2016-09-07 21:17:12 +02:00
Nico Golde
584290f264 use pledge by default if compiled on openbsc and provide errno string 2016-09-06 19:58:28 +02:00
Nico Golde
a4434536cd fix double backslash 2016-09-02 18:43:08 +02:00
Nico Golde
18580a159f add OpenBSD pledge support - thanks Gleydson Soares 2016-09-02 16:13:43 +02:00
Vasily Kolobkov
f79e2f0953 Fix channel use after freeing in main loop
Signed-off-by: Nico Golde <nico@ngolde.de>
2016-02-24 23:02:19 +01:00
Vasily Kolobkov
165638e3c8 Check up on server messages
Signed-off-by: Nico Golde <nico@ngolde.de>
2016-02-24 23:02:13 +01:00
Nico Golde
1bc3e103c0 prevent nick collisions by only setting the nick after the server accepted it and print a message about change to server log 2015-11-04 19:35:23 -05:00
Nico Golde
29ff454e80 remove duplicate word, thanks Michael Stevens! 2015-11-04 19:35:20 -05:00
Nico Golde
63b5736e6e use _POSIX_PIPE_BUF if PIPE_BUF is not defined (as on FreeBSD); thanks Gleydson Soares! 2015-03-22 13:37:53 +01:00
Nico Golde
41ce43bf8c add gitignore 2013-10-12 10:34:32 +02:00
Nico Golde
28feb9a40e fix "typo" in manpage, thanks Enrique Garbi 2013-04-25 09:00:54 +02:00
Nico Golde
76e6ff5a4b 1.7 release 2013-01-05 14:26:47 +01:00
Nico Golde
7a99152ce6 add respective header for select and not implicitely include it 2012-08-14 11:57:30 +02:00
Nico Golde
aed65ee703 convert slashes to , rather than _ in channel names. , is not allowed by the RFC, _ is. 2012-07-03 17:43:56 +02:00
Nico Golde
a5a7d1b376 fix parsing of JOIN messages for certain servers, thanks van Kanakarakis 2012-06-28 15:41:57 +02:00
Nico Golde
9a0ea4ada1 mark 1.7 as the next release version 2012-06-16 17:00:51 +02:00
Nico Golde
c68beccf59 -k now points to an environment variable containing the password 2012-06-16 17:00:31 +02:00
Nico Golde
2bcd27c9e8 a little cleanup by Connor Lane Smith, thanks! 2011-10-31 21:35:12 +01:00
Nico Golde
6e0a38ee6c Added tag 1.6 for changeset f09f802a8037 2011-01-31 21:47:02 +01:00
Nico Golde
7c22981790 update CHANGES and makefile config for 1.6 2011-01-31 21:47:00 +01:00
Nico Golde
542bc7b5bf restructuring to stay under 500 lines ;) fix regression from 1.5 on handling unknown commands 2011-01-31 21:45:52 +01:00
Nico Golde
b156bc96f2 Added tag 1.5 for changeset 550ee1100719 2011-01-24 17:52:38 +01:00
Nico Golde
beb4661381 document implication of autojoin patch and now tag 1.5 for real :) 2011-01-24 17:52:35 +01:00
Nico Golde
85c6300bfb Added tag 1.5 for changeset 6f504f412a59 2011-01-24 16:52:15 +01:00
Nico Golde
ab9c9b7aa0 add changelog entry about autojoin patch 2011-01-24 16:51:58 +01:00
Nico Golde
59f6c6d017 merge in forgotten changes 2011-01-24 16:47:27 +01:00
Nico Golde
e09845c9a4 Added tag 1.5 for changeset 4c6892284a9a 2011-01-24 16:46:34 +01:00
Nico Golde
e048dac3df minor changes, fix fd leak due to case insensitive channel name comparison, fix treatment of raw irc commands (thanks samurai) 2011-01-24 16:46:25 +01:00
Nico Golde
566fa01e47 create in FIFO on receiving a PRIVMSG 2011-01-24 16:13:04 +01:00
Nico Golde
3bf53e363e document /a for away, patch by Even Gates 2010-06-25 10:55:05 +02:00
Nico Golde
27191f4012 replace echo with printf so it doesnt rely on xsi extension of susv3 2009-06-01 13:39:01 +02:00
Nico Golde
53500aea6e remove bashism, isnt needed anyway 2009-05-23 17:17:46 +02:00
Nico Golde
9dfc1526f9 Added tag 1.4 for changeset 7c7c000b4f42 2008-08-09 13:45:55 +02:00
Nico Golde
36ec5bc425 - prepare 1.4 release
- fix directory traversal using #../../ (not possible to overwrite arbitrary files, thus not marking as security fix)
- general cleanup
- documentation fixes (url, copyright, formatting)
2008-08-09 13:45:46 +02:00
Nico Golde
ddb0f6db02 fix manual 2008-07-22 19:02:47 +02:00