mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 19:51:58 +01:00
integrated improvements from 1.3.4 (NumberFormatter::append(), DateTimeFormatter::append()
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// MultipartWriter.cpp
|
||||
//
|
||||
// $Id: //poco/svn/Net/src/MultipartWriter.cpp#2 $
|
||||
// $Id: //poco/Main/Net/src/MultipartWriter.cpp#8 $
|
||||
//
|
||||
// Library: Net
|
||||
// Package: Messages
|
||||
@@ -99,8 +99,8 @@ std::string MultipartWriter::createBoundary()
|
||||
{
|
||||
std::string boundary("MIME_boundary_");
|
||||
Random rnd;
|
||||
boundary.append(NumberFormatter::formatHex(rnd.next(), 8));
|
||||
boundary.append(NumberFormatter::formatHex(rnd.next(), 8));
|
||||
NumberFormatter::appendHex(boundary, rnd.next(), 8);
|
||||
NumberFormatter::appendHex(boundary, rnd.next(), 8);
|
||||
return boundary;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user