Changeset 27954 in vbox for trunk/src/VBox/HostServices/GuestProperties
- Timestamp:
- Apr 1, 2010 9:09:23 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/GuestProperties/service.cpp
r27781 r27954 578 578 RTTIMESPEC time; 579 579 uint64_t u64TimeNano = RTTimeSpecGetNano(RTTimeNow(&time)); 580 bool fNotify = true; 580 581 581 582 LogFlowThisFunc(("\n")); … … 636 637 if (found) 637 638 { 639 if ( !it->mValue.compare(pcszValue) 640 && (it->mFlags == fFlags)) 641 fNotify = false; 638 642 it->mValue = pcszValue; 639 643 it->mTimestamp = u64TimeNano; … … 646 650 * Send a notification to the host and return. 647 651 */ 648 // if (isGuest) /* Notify the host even for properties that the host 649 // * changed. Less efficient, but ensures consistency. */ 652 if (fNotify) 650 653 doNotifications(pcszName, u64TimeNano); 651 654 Log2(("Set string %s, rc=%Rrc, value=%s\n", pcszName, rc, pcszValue));
Note:
See TracChangeset
for help on using the changeset viewer.