aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/utils.h
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-07-07 12:54:02 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-07-07 12:54:02 +0200
commit6b88b740f6b63731064e1d5267c057a6a86e7cf6 (patch)
tree04e855cb60baccdcb9f0530ee81cd25bafa0303a /FICS/utils.h
parent6715f5fcade7dcff9d74b2a24c88d99b8bd03a30 (diff)
Added parameter 'size' to psprintf_highlight() and replaced unbounded string handling functions
Diffstat (limited to 'FICS/utils.h')
-rw-r--r--FICS/utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/FICS/utils.h b/FICS/utils.h
index c6a673b..88f3cc9 100644
--- a/FICS/utils.h
+++ b/FICS/utils.h
@@ -96,8 +96,8 @@ extern int psend_command(int, char *, char *);
extern int psend_file(int, char *, char *);
extern int psend_logoutfile(int, char *, char *);
extern int psend_raw_file(int, char *, char *);
-extern int psprintf_highlight(int, char *, char *, ...)
- PRINTFLIKE(3);
+extern int psprintf_highlight(int, char *, size_t, char *, ...)
+ PRINTFLIKE(4);
extern int safechar(int);
extern int safestring(char *);
extern int search_directory(char *, char *, char **, int);