[ 
https://issues.apache.org/jira/browse/THRIFT-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13091362#comment-13091362
 ] 

Hudson commented on THRIFT-1295:
--------------------------------

Integrated in Thrift #237 (See [https://builds.apache.org/job/Thrift/237/])
    Thrift-1295: Duplicate include in TSocket.cpp
Client: cpp
Patch: Diwaker Gupta

TSocket.cpp includes netdb.in which is already included by TSocket.h.


> Duplicate include in TSocket.cpp
> --------------------------------
>
>                 Key: THRIFT-1295
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1295
>             Project: Thrift
>          Issue Type: Improvement
>          Components: C++ - Library
>    Affects Versions: 0.7
>            Reporter: Diwaker Gupta
>            Assignee: Diwaker Gupta
>            Priority: Trivial
>             Fix For: 0.8
>
>
> TSocket.cpp includes netdb.in which is already included by TSocket.h. Trivial 
> diff:
> {noformat}
> --- lib/cpp/src/transport/TSocket.cpp
> +++ lib/cpp/src/transport/TSocket.cpp
> @@ -27,7 +27,6 @@
>  #include <arpa/inet.h>
>  #include <netinet/in.h>
>  #include <netinet/tcp.h>
> -#include <netdb.h>
>  #include <unistd.h>
>  #include <errno.h>
>  #include <fcntl.h>
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to