projects
/
l2tpns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Fri Mar 5 2004 David Parrish <david@dparrish.com> 1.1.0
[l2tpns.git]
/
nsctl.c
diff --git
a/nsctl.c
b/nsctl.c
index
8a8aee0
..
aa6a300
100644
(file)
--- a/
nsctl.c
+++ b/
nsctl.c
@@
-96,7
+96,7
@@
int main(int argc, char *argv[])
}
for (p = 0; p < commands[i].params; p++)
{
- strncpy((packet + len), argv[p + 3], 1400 - len);
+ strncpy((packet + len), argv[p + 3], 1400 - len
- 1
);
len += strlen(argv[p + 3]) + 1;
}
break;