Changeset 57616 in vbox for trunk/src/VBox/Runtime/common/misc/http.cpp
- Timestamp:
- Sep 4, 2015 3:39:39 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/http.cpp
r57613 r57616 559 559 rc = VERR_HTTP_PROXY_NOT_FOUND; 560 560 break; 561 case CURLE_WRITE_ERROR: 562 rc = RT_FAILURE_NP(pThis->rcOutput) ? pThis->rcOutput : VERR_WRITE_ERROR; 563 break; 564 //case CURLE_READ_ERROR 565 561 566 default: 562 567 break; … … 672 677 pThis->Output.Mem.cb = cbNewSize; 673 678 pThis->Output.Mem.pb[cbNewSize] = '\0'; 674 return VINF_SUCCESS;679 return cbToAppend; 675 680 } 676 681 … … 693 698 pThis->Output.Mem.pb = pbNew; 694 699 pThis->Output.Mem.cb = cbNewSize; 695 return VINF_SUCCESS;700 return cbToAppend; 696 701 } 697 702 … … 699 704 } 700 705 else 701 pThis->rcOutput 706 pThis->rcOutput = VERR_TOO_MUCH_DATA; 702 707 703 708 /* … … 743 748 */ 744 749 bool fBusy = ASMAtomicXchgBool(&pThis->fBusy, true); 745 AssertReturn( fBusy, VERR_WRONG_ORDER);750 AssertReturn(!fBusy, VERR_WRONG_ORDER); 746 751 747 752 /* … … 846 851 */ 847 852 bool fBusy = ASMAtomicXchgBool(&pThis->fBusy, true); 848 AssertReturn( fBusy, VERR_WRONG_ORDER);853 AssertReturn(!fBusy, VERR_WRONG_ORDER); 849 854 850 855 /*
Note:
See TracChangeset
for help on using the changeset viewer.