Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 484706
Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +6 lines)
Line  Link Here
0
-- licq-1.8.0/src/socket.cpp
0
++ licq-1.8.0/src/socket.cpp
Lines 49-54 Link Here
49
extern "C" {
49
extern "C" {
50
#include <socks.h>
50
#include <socks.h>
51
}
51
}
52
#define socket_send Rsend
53
#undef send
54
#else
55
#define socket_send send
52
#endif // SOCKS5
56
#endif // SOCKS5
53
57
54
#ifdef SOCKS5_OPTLEN
58
#ifdef SOCKS5_OPTLEN
Lines 477-483 Link Here
477
  char* dataPos = buf.getDataStart();
481
  char* dataPos = buf.getDataStart();
478
  while (bytesLeft > 0)
482
  while (bytesLeft > 0)
479
  {
483
  {
480
    ssize_t bytesSent = ::send(myDescriptor, dataPos, bytesLeft, 0);
484
    ssize_t bytesSent = ::socket_send(myDescriptor, dataPos, bytesLeft, 0);
481
    if (bytesSent < 0)
485
    if (bytesSent < 0)
482
    {
486
    {
483
      if (errno == EINTR)
487
      if (errno == EINTR)

Return to bug 484706