VirtualBox

Changeset 85674 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Aug 10, 2020 4:03:57 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139807
Message:

IPRT/ftp-server.cpp: We use 'end' to be exclusive (last + 1) and 'last' to be inclusive in enums and such. bugref:9437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/ftp-server.cpp

    r85672 r85674  
    203203    RTFTPSERVER_CMD_USER,
    204204    /** End marker. */
    205     RTFTPSERVER_CMD_LAST,
     205    RTFTPSERVER_CMD_END,
    206206    /** The usual 32-bit hack. */
    207207    RTFTPSERVER_CMD_32BIT_HACK = 0x7fffffff
     
    408408    { RTFTPSERVER_CMD_TYPE,     "TYPE", true,  rtFtpServerHandleTYPE },
    409409    { RTFTPSERVER_CMD_USER,     "USER", false, rtFtpServerHandleUSER },
    410     { RTFTPSERVER_CMD_LAST,     "",     false, NULL }
     410    { RTFTPSERVER_CMD_END,      "",     false, NULL }
    411411};
    412412
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette