Skip to content

Commit a401cdf

Browse files
committed
spaces -> tabs
1 parent aeeada3 commit a401cdf

8 files changed

Lines changed: 28 additions & 28 deletions

File tree

‎Net/include/Poco/Net/FTPClientSession.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ class Net_API FTPClientSession
141141
void logout();
142142

143143
void close();
144-
/// Sends a QUIT command and closes the connection to the server.
144+
/// Sends a QUIT command and closes the connection to the server.
145145
///
146146
/// Throws a FTPException in case of a FTP-specific error, or a
147147
/// NetException in case of a general network communication failure.

‎Net/include/Poco/Net/IPAddress.h‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -179,14 +179,14 @@ class Net_API IPAddress
179179
/// For dealing with IPv4 compatible addresses in a mixed environment,
180180
/// a special syntax is available: x:x:x:x:x:x:d.d.d.d, where the 'x's are the
181181
/// hexadecimal values of the six high-order 16-bit pieces of the address,
182-
/// and the 'd's are the decimal values of the four low-order 8-bit pieces of the
183-
/// standard IPv4 representation address. Example: ::FFFF:192.168.1.120
184-
///
185-
/// If an IPv6 address contains a non-zero scope identifier, it is added
186-
/// to the string, delimited by a percent character. On Windows platforms,
187-
/// the numeric value (which specifies an interface index) is directly
188-
/// appended. On Unix platforms, the name of the interface corresponding
189-
/// to the index (interpretation of the scope identifier) is added.
182+
/// and the 'd's are the decimal values of the four low-order 8-bit pieces of the
183+
/// standard IPv4 representation address. Example: ::FFFF:192.168.1.120
184+
///
185+
/// If an IPv6 address contains a non-zero scope identifier, it is added
186+
/// to the string, delimited by a percent character. On Windows platforms,
187+
/// the numeric value (which specifies an interface index) is directly
188+
/// appended. On Unix platforms, the name of the interface corresponding
189+
/// to the index (interpretation of the scope identifier) is added.
190190

191191
bool isWildcard() const;
192192
/// Returns true iff the address is a wildcard (all zero)

‎Net/src/DNS.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ HostEntry DNS::hostByName(const std::string& hostname)
8484
return HostEntry(he);
8585
}
8686
#endif
87-
error(lastError(), hostname); // will throw an appropriate exception
87+
error(lastError(), hostname); // will throw an appropriate exception
8888
throw NetException(); // to silence compiler
8989
}
9090

‎Net/src/HostEntry.cpp‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ HostEntry& HostEntry::operator = (const HostEntry& entry)
133133
{
134134
if (&entry != this)
135135
{
136-
_name = entry._name;
137-
_aliases = entry._aliases;
138-
_addresses = entry._addresses;
136+
_name = entry._name;
137+
_aliases = entry._aliases;
138+
_addresses = entry._addresses;
139139
}
140140
return *this;
141141
}

‎Net/src/SocketImpl.cpp‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -466,13 +466,13 @@ bool SocketImpl::poll(const Poco::Timespan& timeout, int mode)
466466
while (rc < 0 && lastError() == POCO_EINTR);
467467

468468
::close(epollfd);
469-
if (rc < 0) error();
470-
return rc > 0;
469+
if (rc < 0) error();
470+
return rc > 0;
471471

472472
#elif defined(POCO_HAVE_FD_POLL)
473473

474474
pollfd pollBuf;
475-
475+
476476
memset(&pollBuf, 0, sizeof(pollfd));
477477
pollBuf.fd = _sockfd;
478478
if (mode & SELECT_READ) pollBuf.events |= POLLIN;

‎Net/testsuite/src/HTTPResponseTest.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ void HTTPResponseTest::testCookies()
219219
response2.getCookies(cookies);
220220
assert (cookies.size() == 2);
221221
assert (cookies[0].getName() == "name1" && cookies[1].getName() == "name2"
222-
|| cookies[0].getName() == "name2" && cookies[1].getName() == "name1");
222+
|| cookies[0].getName() == "name2" && cookies[1].getName() == "name1");
223223
}
224224

225225

‎Net/testsuite/src/HTTPTestServer.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ void HTTPTestServer::run()
124124
bool HTTPTestServer::requestComplete() const
125125
{
126126
return ((_lastRequest.substr(0, 3) == "GET" || _lastRequest.substr(0, 4) == "HEAD") &&
127-
(_lastRequest.find("\r\n\r\n") != std::string::npos)) ||
128-
(_lastRequest.find("\r\n0\r\n") != std::string::npos);
127+
(_lastRequest.find("\r\n\r\n") != std::string::npos)) ||
128+
(_lastRequest.find("\r\n0\r\n") != std::string::npos);
129129
}
130130

131131

‎Net/testsuite/src/SocketAddressTest.cpp‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,15 @@ void SocketAddressTest::testSocketAddress()
140140

141141
void SocketAddressTest::testSocketRelationals()
142142
{
143-
SocketAddress sa1("192.168.1.100", 100);
144-
SocketAddress sa2("192.168.1.100:100");
145-
assert (sa1 == sa2);
146-
147-
SocketAddress sa3("192.168.1.101", "99");
148-
assert (sa2 < sa3);
149-
150-
SocketAddress sa4("192.168.1.100", "102");
151-
assert (sa3 < sa4);
143+
SocketAddress sa1("192.168.1.100", 100);
144+
SocketAddress sa2("192.168.1.100:100");
145+
assert (sa1 == sa2);
146+
147+
SocketAddress sa3("192.168.1.101", "99");
148+
assert (sa2 < sa3);
149+
150+
SocketAddress sa4("192.168.1.100", "102");
151+
assert (sa3 < sa4);
152152
}
153153

154154

0 commit comments

Comments
 (0)