VirtualBox

Ignore:
Timestamp:
Nov 14, 2018 9:38:08 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
126626
Message:

os2/VBoxSF,VBoxControl: Fixes, adjustments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/os2/VBoxSF/VBoxSF.cpp

    r75461 r75471  
    374374        pNew->cRefs         = 2; /* (List reference + the returned reference.) */
    375375        pNew->cOpenFiles    = 0;
     376        pNew->cOpenSearches = 0;
    376377        pNew->cDrives       = 0;
    377378        RT_ZERO(pNew->hHostFolder);
     
    943944            cbParam = pFolder->cchName + 1;
    944945            rc = KernCopyOut(pbData, &cbParam, sizeof(cbParam));
    945             if (rc != NO_ERROR)
     946            if (rc == NO_ERROR)
    946947                rc = KernCopyOut(pbData + sizeof(USHORT), pFolder->szName, pFolder->cbNameAndTag);
    947948        }
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