// Custom includes
#include <errno.h>
-#include "Utils/Exception.hh"
+#include "../Utils/Exception.hh"
#include "Scheduler.hh"
#define prefix_
///////////////////////////////ct.p////////////////////////////////////////
template <class Handle>
-prefix_ senf::WriteHelper<Handle>::WriteHelper(Handle handle, std::string data,
+prefix_ senf::WriteHelper<Handle>::WriteHelper(Handle handle, std::string const & data,
Callback callback)
: handle_(handle), data_(data), callback_(callback),
offset_(data_.begin()), errno_(0)
}
}
catch (senf::SystemException const & ex) {
- errno_ = ex.err;
+ errno_ = ex.code();
done();
return;
}
// c-file-style: "senf"
// indent-tabs-mode: nil
// ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
// End: