return byteSize; // skip headers associated with 100-continue status
}
- int colonPos = h.find(':');
+ size_t colonPos = h.find(':');
if (colonPos == std::string::npos) {
SG_LOG(SG_IO, SG_WARN, "malformed HTTP response header:" << h);
return byteSize;
if (slot.repository.get()) {
if (slot.repository->isDoingSync()) {
#if 1
- if (slot.stamp.elapsedMSec() > slot.nextWarnTimeout) {
+ if (slot.stamp.elapsedMSec() > (int)slot.nextWarnTimeout) {
SG_LOG(SG_TERRAIN, SG_INFO, "sync taking a long time:" << slot.currentItem._dir << " taken " << slot.stamp.elapsedMSec());
SG_LOG(SG_TERRAIN, SG_INFO, "HTTP status:" << _http.hasActiveRequests());
slot.nextWarnTimeout += 10000;
void SGTerraSync::reposition()
{
// stub, remove
-}
\ No newline at end of file
+}