Changeset 25c4c78 for lib/proxy.c


Ignore:
Timestamp:
2015-01-16T19:50:24Z (5 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
a6cd799
Parents:
7549d00
git-author:
Jason Copenhaver <jcopenha@…> (16-01-15 19:50:24)
git-committer:
dequis <dx@…> (16-01-15 19:50:24)
Message:

Fix compiler warnings on Cygwin and Mac OS X.

  • Don't use PIE/PIC on Cygwin/Darwin unless specified as these platforms don't support it.
  • Cleanup warnings for 'make check' build.
  • Fix the type issue for getsockopt calls.
  • Fix enum warnings in Yahoo libs on Mac OS X.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/proxy.c

    r7549d00 r25c4c78  
    6666{
    6767        struct PHB *phb = data;
    68         unsigned int len;
     68        socklen_t len;
    6969        int error = ETIMEDOUT;
    7070        len = sizeof(error);
     
    214214        char cmd[384];
    215215        struct PHB *phb = data;
    216         unsigned int len;
     216        socklen_t len;
    217217        int error = ETIMEDOUT;
    218218        if (phb->inpa > 0)
     
    309309        struct hostent *hp;
    310310        struct PHB *phb = data;
    311         unsigned int len;
     311        socklen_t len;
    312312        int error = ETIMEDOUT;
    313313        if (phb->inpa > 0)
     
    501501        int i;
    502502        struct PHB *phb = data;
    503         unsigned int len;
     503        socklen_t len;
    504504        int error = ETIMEDOUT;
    505505        if (phb->inpa > 0)
Note: See TracChangeset for help on using the changeset viewer.