From f8a62c444f070b5e7f1ed00a2a322d01da729775 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 26 Sep 2004 23:48:31 -0400 Subject: made several of the buffers used non-static --- journal.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'journal.cc') diff --git a/journal.cc b/journal.cc index a949d7a4..4b33361d 100644 --- a/journal.cc +++ b/journal.cc @@ -242,9 +242,11 @@ account_t * account_t::find_account(const std::string& name, if (i != accounts.end()) return (*i).second; - static char buf[256]; + char buf[256]; std::string::size_type sep = name.find(':'); + assert(sep < 256); + const char * first, * rest; if (sep == std::string::npos) { first = name.c_str(); -- cgit v1.2.3