From: g0dil Date: Mon, 28 Apr 2008 15:26:41 +0000 (+0000) Subject: Console; Fix second console segfault X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=da1843a0fc5dfaea09d7d7ab3adf2d30795e04c5;p=senf.git Console; Fix second console segfault git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@825 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Console/Server.cc b/Console/Server.cc index d6491bf..ffe7246 100644 --- a/Console/Server.cc +++ b/Console/Server.cc @@ -167,7 +167,8 @@ prefix_ void senf::console::detail::DumbClientReader::showPrompt() { std::string prompt (promptString()); - stream() << prompt << std::flush; + stream() << std::flush; + handle().write(prompt); promptLen_ = prompt.size(); promptActive_ = true; }