diff options
author | Laurent Richard <[email protected]> | 2004-12-06 17:24:55 +0000 |
---|---|---|
committer | Laurent Richard <[email protected]> | 2004-12-06 17:24:55 +0000 |
commit | 1b76d40e09842a07175c99eaa1369ce7e1497835 (patch) | |
tree | 07c5197736a3d27e0ce5b896640e36d88a038f65 /examples | |
parent | Flags must be stored in ASCII order. (diff) | |
download | vmime-1b76d40e09842a07175c99eaa1369ce7e1497835.tar.gz vmime-1b76d40e09842a07175c99eaa1369ce7e1497835.zip |
All header tests-functions added
Diffstat (limited to 'examples')
-rw-r--r-- | examples/common.inc | 2 |
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; |