Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
e04159c
)
Thrift-1295: Duplicate include in TSocket.cpp
author
Jake Farrell
<jfarrell@apache.org>
Thu, 25 Aug 2011 22:02:38 +0000
(22:02 +0000)
committer
Jake Farrell
<jfarrell@apache.org>
Thu, 25 Aug 2011 22:02:38 +0000
(22:02 +0000)
Client: cpp
Patch: Diwaker Gupta
TSocket.cpp includes netdb.in which is already included by TSocket.h.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1161775
13f79535
-47bb-0310-9956-
ffa450edef68
lib/cpp/src/transport/TSocket.cpp
patch
|
blob
|
history
diff --git
a/lib/cpp/src/transport/TSocket.cpp
b/lib/cpp/src/transport/TSocket.cpp
index
7b1d356
..
2f5a0b0
100644
(file)
--- a/
lib/cpp/src/transport/TSocket.cpp
+++ b/
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>