aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLaurent Richard <[email protected]>2004-12-06 17:24:55 +0000
committerLaurent Richard <[email protected]>2004-12-06 17:24:55 +0000
commit1b76d40e09842a07175c99eaa1369ce7e1497835 (patch)
tree07c5197736a3d27e0ce5b896640e36d88a038f65 /examples
parentFlags must be stored in ASCII order. (diff)
downloadvmime-1b76d40e09842a07175c99eaa1369ce7e1497835.tar.gz
vmime-1b76d40e09842a07175c99eaa1369ce7e1497835.zip
All header tests-functions added
Diffstat (limited to 'examples')
-rw-r--r--examples/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/common.inc b/examples/common.inc
index a21b6876..8da13f2c 100644
--- a/examples/common.inc
+++ b/examples/common.inc
@@ -69,7 +69,7 @@ public:
memset(&addr, 0, sizeof(addr));
addr.sin_family = AF_INET;
- addr.sin_port = ::htons((unsigned short) port);
+ addr.sin_port = htons((unsigned short) port);
addr.sin_addr.s_addr = ::inet_addr(address.c_str());
std::cout << "Connecting to '" << address << "' port " << port << "..." << std::endl;