VirtualBox

Changeset 74424 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Sep 22, 2018 8:00:36 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
125259
Message:

IPRT/uri: Better handling of empty port specifiers. bugref:9249

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/uri.h

    r69105 r74424  
    9797    /** The length of the host part of the authority. */
    9898    size_t      cchAuthorityHost;
    99     /** The authority port number, UINT32_MAX if not present. */
     99    /** The authority port number, UINT32_MAX if not present or empty. */
    100100    uint32_t    uAuthorityPort;
    101101    /** @} */
     
    110110/** Set if the URI contains escaped characters. */
    111111#define RTURIPARSED_F_CONTAINS_ESCAPED_CHARS        UINT32_C(0x00000001)
    112 /** Set if the URI have an authority component.  Necessary since the authority
     112/** Set if the URI has an authority component.  Necessary since the authority
    113113 * component can have a zero length. */
    114 #define RTURIPARSED_F_HAVE_AUTHORITY                UINT32_C(0x00000002)
     114#define RTURIPARSED_F_HAS_AUTHORITY                 UINT32_C(0x00000002)
     115/** Set if there is a port component. */
     116#define RTURIPARSED_F_HAS_PORT                      UINT32_C(0x00000004)
    115117/** @} */
    116118
Note: See TracChangeset for help on using the changeset viewer.

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