projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Update/fix for SASL
[m6w6/libmemcached]
/
libtest
/
vchar.cc
diff --git
a/libtest/vchar.cc
b/libtest/vchar.cc
index fde0127f8d0da8fe2054e5eaf023383f60f1c893..81c03453b03da46d278db8f79d3059f60da199b4 100644
(file)
--- a/
libtest/vchar.cc
+++ b/
libtest/vchar.cc
@@
-34,7
+34,7
@@
*
*/
*
*/
-#include
<config.h>
+#include
"libtest/yatlcon.h"
#include <libtest/common.h>
namespace libtest {
#include <libtest/common.h>
namespace libtest {
@@
-81,6
+81,7
@@
void make(libtest::vchar_t& arg)
void make(libtest::vchar_t& arg, size_t length)
{
void make(libtest::vchar_t& arg, size_t length)
{
+ arg.reserve(length);
for (uint32_t x= 0; x < length; x++)
{
arg.push_back(char(x % 127));
for (uint32_t x= 0; x < length; x++)
{
arg.push_back(char(x % 127));