Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1295

Duplicate include in TSocket.cpp

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.7
    • 0.8
    • C++ - Library
    • None
    • Patch Available

    Description

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

      --- 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>
      

      Attachments

        Activity

          People

            diwaker Diwaker Gupta
            diwaker Diwaker Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: