mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-26 08:39:36 +00:00
Rename shadowed variable
This commit is contained in:
1 file changed
+3
-3
@@ -167,11 +167,11 @@ bool Socket::SendDataBlocking(const void *buf, uint32_t length)
|
||||
|
||||
while(sent < length)
|
||||
{
|
||||
int flags = 0;
|
||||
int sendflags = 0;
|
||||
#if ENABLED(RDOC_LINUX)
|
||||
flags = MSG_NOSIGNAL;
|
||||
sendflags = MSG_NOSIGNAL;
|
||||
#endif
|
||||
ssize_t ret = send((int)socket, src, length - sent, flags);
|
||||
ssize_t ret = send((int)socket, src, length - sent, sendflags);
|
||||
|
||||
if(ret <= 0)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user