source: npl/system/netkit-ftp/patches/26-netkit-ftp-0.17-acct_ovl.patch @ ca72aba

Last change on this file since ca72aba was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 467 bytes
  • netkit-ftp-0.17/ftp/cmds.c

    diff -up netkit-ftp-0.17/ftp/cmds.c.acct_ovl netkit-ftp-0.17/ftp/cmds.c
    old new account(int argc, char *argv[]) 
    18371837                while (argc > 1) {
    18381838                        --argc;
    18391839                        ++argv;
    1840                         strncat(buf, *argv, sizeof(buf)-strlen(buf));
    1841                         buf[sizeof(buf)-1] = 0;
     1840                        strncat(buf, *argv, sizeof(buf)-strlen(buf)-1);
    18421841                }
    18431842                ap = buf;
    18441843        }
Note: See TracBrowser for help on using the repository browser.