summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorpaul <paul>2004-10-13 05:22:18 +0000
committerpaul <paul>2004-10-13 05:22:18 +0000
commit42d498658d85e36a7e5910955e7425b1fa2afa69 (patch)
tree4745462eb34a84e32ef5d3e1586a3cb5a983626e /lib/command.c
parentfd79ac918b8feaacebe9719adaac97dffb69137a (diff)
2004-10-13 Paul Jakma <paul@dishone.st>
* (global) more const'ification. * sockunion.c: (sockunion_su2str) buffer should be sized SU_ADDRSTRLEN. (sockunion_log) do not return stack variables, strdup buf before return. * vty.h: Fix up the VTY_GET_INTEGER macros. Testing caller supplied values against ULONG_MAX is daft, when caller probably has passed a type that can not hold ULONG_MAX. use a temporary long instead. Add VTY_GET_LONG, make VTY_GET_INTEGER_RANGE use it, make VTY_GET_INTEGER a define for VTY_GET_INTEGER_RANGE.
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c
index 168fe563..0e61e0d8 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -78,7 +78,7 @@ struct cmd_node config_node =
/* Utility function to concatenate argv argument into a single string
with inserting ' ' character between each argument. */
char *
-argv_concat (char **argv, int argc, int shift)
+argv_concat (const char **argv, int argc, int shift)
{
int i;
int len;