mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
bug fixing
This commit is contained in:
parent
b3923483ea
commit
87e4e19e02
20 changed files with 233 additions and 164 deletions
|
|
@ -129,7 +129,7 @@ class NmapOutputTable {
|
|||
// Copy specifies whether we must make a copy of item. Otherwise we'll just save the
|
||||
// ptr (and you better not free it until this table is destroyed ). Skip the itemlen parameter if you
|
||||
// don't know (and the function will use strlen).
|
||||
void addItem(unsigned int row, unsigned int column, bool copy, char *item, int itemlen = -1);
|
||||
void addItem(unsigned int row, unsigned int column, bool copy, const char *item, int itemlen = -1);
|
||||
// Like addItem except this version takes a prinf-style format string followed by varargs
|
||||
void addItemFormatted(unsigned int row, unsigned int column, const char *fmt, ...)
|
||||
__attribute__ ((format (printf, 4, 5)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue