..
This commit is contained in:
parent
a743cbebbb
commit
fea8c89343
1 changed files with 0 additions and 2 deletions
|
@ -511,11 +511,9 @@ int main(int argc, const char* argv[])
|
||||||
int handle = proxyHandles[selection];
|
int handle = proxyHandles[selection];
|
||||||
if (CHECK(event, handle))
|
if (CHECK(event, handle))
|
||||||
{
|
{
|
||||||
struct sockaddr_in dummyAddress;
|
|
||||||
socklen_t size = sizeof(struct sockaddr_in);
|
socklen_t size = sizeof(struct sockaddr_in);
|
||||||
uint8_t* buffer = (uint8_t*)outgoingBuffer->data;
|
uint8_t* buffer = (uint8_t*)outgoingBuffer->data;
|
||||||
struct sockaddr_in* address = repeaterSocketAddresses + selection;
|
struct sockaddr_in* address = repeaterSocketAddresses + selection;
|
||||||
|
|
||||||
size_t length = recvfrom(handle, buffer, BUFFER_SIZE, 0, (struct sockaddr*)address, &size);
|
size_t length = recvfrom(handle, buffer, BUFFER_SIZE, 0, (struct sockaddr*)address, &size);
|
||||||
|
|
||||||
outgoingBuffer->type = htole16(REWIND_CLASS_HYTERA_DATA + selection);
|
outgoingBuffer->type = htole16(REWIND_CLASS_HYTERA_DATA + selection);
|
||||||
|
|
Loading…
Add table
Reference in a new issue