spaces to tabs

This commit is contained in:
Aleksandar Fabijanic 2012-05-30 00:39:30 +00:00
parent 7eb7176397
commit 1863c26cfc

View File

@ -139,32 +139,32 @@ Poco::UInt64 StreamCopier::copyToString64(std::istream& istr, std::string& str,
std::streamsize StreamCopier::copyStreamUnbuffered(std::istream& istr, std::ostream& ostr) std::streamsize StreamCopier::copyStreamUnbuffered(std::istream& istr, std::ostream& ostr)
{ {
char c; char c;
std::streamsize len = 0; std::streamsize len = 0;
istr.get(c); istr.get(c);
while (istr && ostr) while (istr && ostr)
{ {
++len; ++len;
ostr.put(c); ostr.put(c);
istr.get(c); istr.get(c);
} }
return len; return len;
} }
#if defined(POCO_HAVE_INT64) #if defined(POCO_HAVE_INT64)
Poco::UInt64 StreamCopier::copyStreamUnbuffered64(std::istream& istr, std::ostream& ostr) Poco::UInt64 StreamCopier::copyStreamUnbuffered64(std::istream& istr, std::ostream& ostr)
{ {
char c; char c;
Poco::UInt64 len = 0; Poco::UInt64 len = 0;
istr.get(c); istr.get(c);
while (istr && ostr) while (istr && ostr)
{ {
++len; ++len;
ostr.put(c); ostr.put(c);
istr.get(c); istr.get(c);
} }
return len; return len;
} }
#endif #endif