projects
/
liboping.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd17154
)
Use the correct macro for hostname max length
author
Hamish Coleman
<hamish@zot.org>
Mon, 20 Mar 2017 02:19:47 +0000
(10:19 +0800)
committer
Hamish Coleman
<hamish@zot.org>
Mon, 20 Mar 2017 02:19:47 +0000
(10:19 +0800)
src/oping.c
patch
|
blob
|
history
diff --git
a/src/oping.c
b/src/oping.c
index
e2252a2
..
fc2bd65
100644
(file)
--- a/
src/oping.c
+++ b/
src/oping.c
@@
-1354,7
+1354,7
@@
static int check_resize (pingobj_t *ping) /* {{{ */
}
else if (key == 'a')
{
- char host[
80
];
+ char host[
NI_MAXHOST
];
wprintw(main_win, "New Host: ");
echo();