gcc484perl-5.22
|
Last change
on this file since 20eb816 was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 9 years ago
|
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100644
|
|
File size:
467 bytes
|
| Rev | Line | |
|---|
| [c5c522c] | 1 | diff -up netkit-ftp-0.17/ftp/cmds.c.acct_ovl netkit-ftp-0.17/ftp/cmds.c |
|---|
| 2 | --- netkit-ftp-0.17/ftp/cmds.c.acct_ovl 2011-09-09 15:36:36.087956561 +0200 |
|---|
| 3 | +++ netkit-ftp-0.17/ftp/cmds.c 2011-09-09 15:41:16.457495370 +0200 |
|---|
| 4 | @@ -1837,8 +1837,7 @@ account(int argc, char *argv[]) |
|---|
| 5 | while (argc > 1) { |
|---|
| 6 | --argc; |
|---|
| 7 | ++argv; |
|---|
| 8 | - strncat(buf, *argv, sizeof(buf)-strlen(buf)); |
|---|
| 9 | - buf[sizeof(buf)-1] = 0; |
|---|
| 10 | + strncat(buf, *argv, sizeof(buf)-strlen(buf)-1); |
|---|
| 11 | } |
|---|
| 12 | ap = buf; |
|---|
| 13 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.