MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / Put

Method Put

engine/Poseidon/Network/XML/Xml.cpp:697–706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

695#ifdef HTTP_SUPER_LOG
696 LOG_DEBUG(Core, "{}", req);
697#endif
698 ::close(sock);
699 ptr = endPtr = nullptr;
700 return;
701 }
702
703 // prepare the data-array:
704 int totalLen = atoi(port + 17);
705 endPtr += 4;
706 beginPtr = (char*)malloc(totalLen);
707 memcpy(beginPtr, endPtr, ptr - endPtr);
708 ptr = beginPtr + (ptr - endPtr);
709 endPtr = beginPtr + totalLen;

Callers 1

DownloadFileFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected