Commit Graph

13 Commits

Author SHA1 Message Date
Kevin Easton
d464bd91fb Remove unnecessary inclusions of <numbers.h>
Functions display_msg() and check_sync() are only used in numbers.c, so they
can be static.

Remove inclusions of <numbers.h> from .c files that don't need it.
2016-03-24 11:21:09 +11:00
Tim Cava
3287f7775b Convert sprintf calls to snprintf. From pvaldes.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@452 13b04d17-f746-0410-82c6-800466cd88b0
2013-11-11 21:28:31 +00:00
Tim Cava
112b38ac7a Revert the last commit. It accidentally had autogenerated files in it.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@432 13b04d17-f746-0410-82c6-800466cd88b0
2013-11-07 03:00:24 +00:00
Tim Cava
276fd24258 Use snprintf rather than sprintf. From pvaldes.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@431 13b04d17-f746-0410-82c6-800466cd88b0
2013-11-07 02:41:16 +00:00
Tim Cava
41dcaad142 Cleanup check_on_hook(). Use strlcat rather than strmcat. Don't
initialize variables unless necessary.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@416 13b04d17-f746-0410-82c6-800466cd88b0
2013-10-26 02:54:04 +00:00
Tim Cava
9207c838f9 Use strlcpy and strlcat, rather than strmcpy and strncat, in tcl_putdcc().
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@360 13b04d17-f746-0410-82c6-800466cd88b0
2013-08-18 09:56:12 +00:00
Tim Cava
7af7913c98 Use strlcpy, rather than strmcpy, in tcl_putscr().
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@343 13b04d17-f746-0410-82c6-800466cd88b0
2013-08-17 05:21:31 +00:00
Tim Cava
172bb8c409 Use strlcpy, rather than strmcpy, in tcl_putserv().
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@342 13b04d17-f746-0410-82c6-800466cd88b0
2013-08-17 05:19:50 +00:00
Tim Cava
3c4acd0446 Use strlcpy, rather than strmcpy, in tcl_putloglev().
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@341 13b04d17-f746-0410-82c6-800466cd88b0
2013-08-17 05:16:23 +00:00
Tim Cava
5b3d5bf285 Use strlcpy, rather than strmcpy, in tcl_putcmdlog().
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@340 13b04d17-f746-0410-82c6-800466cd88b0
2013-08-17 05:14:29 +00:00
Tim Cava
905bceb348 Use strlcpy, rather than strmcpy, in tcl_putlog().
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@339 13b04d17-f746-0410-82c6-800466cd88b0
2013-08-17 05:13:15 +00:00
Tim Cava
73bf008b9f Remove a duplicate include of dcc.h.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@294 13b04d17-f746-0410-82c6-800466cd88b0
2013-07-15 06:20:49 +00:00
Kevin Easton
f7607baf45 Add tcl.c to source distribution (panasync gave his permission for this to be released).
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@213 13b04d17-f746-0410-82c6-800466cd88b0
2012-10-19 12:11:05 +00:00