Changeset 875 for trunk/guitools/shared/smbtree.vrs
- Timestamp:
- Mar 4, 2015, 10:28:25 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/guitools/shared/smbtree.vrs
r837 r875 379 379 /* we only do this for machines with empty parent (=workgroup) handle */ 380 380 /* IF there is only one workgroup */ 381 if wgh <> "" & VRMethod('CN_smbtree', 'GetRecordAttr', smbtree.!machine, 'Parent') = "" then do381 if wgh <> "" & VRMethod('CN_smbtree', 'GetRecordAttr', smbtree.!machine, 'Parent') = "" & VRIsValidObject(smbtree.!machine) then do 382 382 ok = VRMethod('CN_smbtree', 'SetRecordAttr', smbtree.!machine, 'Parent', wgh) 383 end 384 else do 385 say "Ticket #244 failure: case 1" 386 say "wgh = "wgh 387 say "Parent = "VRMethod('CN_smbtree', 'GetRecordAttr', smbtree.!machine, 'Parent') 383 388 end 384 389 end … … 405 410 406 411 wgh = _GetMachinehandle(workgroup) 407 if wgh <> "" & VRMethod('CN_smbtree', 'GetRecordAttr', smbtree.!machine, 'Parent') = "" then do412 if wgh <> "" & VRMethod('CN_smbtree', 'GetRecordAttr', smbtree.!machine, 'Parent') = "" & VRIsValidObject(smbtree.!machine) then do 408 413 ok = VRMethod('CN_smbtree', 'SetRecordAttr', smbtree.!machine, 'Parent', wgh) 414 end 415 else do 416 say "Ticket #244 failure: case 2" 417 say "wgh = "wgh 418 say "Parent = "VRMethod('CN_smbtree', 'GetRecordAttr', smbtree.!machine, 'Parent') 409 419 end 410 420 end
Note:
See TracChangeset
for help on using the changeset viewer.