VirtualBox

Changeset 6071 in vbox for trunk/src/VBox/Main/xml


Ignore:
Timestamp:
Dec 14, 2007 5:41:32 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
26762
Message:

Explicitly init the utc offset field too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xml/cfgldr.cpp

    r5999 r6071  
    143143}
    144144
    145 /** 
     145/**
    146146 * Converts a string of hex digits to memory bytes.
    147  * 
     147 *
    148148 * @param puszValue String of hex digits to convert.
    149149 * @param pvValue   Where to store converted bytes.
    150150 * @param cbValue   Size of the @a pvValue array.
    151151 * @param pcbValue  Where to store the actual number of stored bytes.
    152  * 
     152 *
    153153 * @return IPRT status code.
    154154 */
     
    214214 * @param puszValue Where to store the pointer to the resulting string.
    215215 *                  On success, this string should be freed using RTUtf16Free().
    216  * 
     216 *
    217217 * @return IPRT status code.
    218218 */
     
    17321732 * Gets the value of the given attribute as a UTF-16 string.
    17331733 * The returned string is owned by CfgNode, the caller must not free it.
    1734  * 
     1734 *
    17351735 * @param pszName       Attribute name.
    17361736 * @param ppwszValue    Where to store a pointer to the attribute value.
    1737  * 
     1737 *
    17381738 * @return IPRT status code.
    17391739 */
     
    28292829            RTTIME time = { yyyy, (uint8_t) mm, 0, 0, (uint8_t) dd,
    28302830                            (uint8_t) hh, (uint8_t) mi, (uint8_t) ss, 0,
    2831                             RTTIME_FLAGS_TYPE_UTC };
     2831                            RTTIME_FLAGS_TYPE_UTC, 0 };
    28322832            if (RTTimeNormalize (&time))
    28332833            {
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