diff options
| -rwxr-xr-x | src/KM_log.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/KM_log.cpp b/src/KM_log.cpp index 182d91e..d820dba 100755 --- a/src/KM_log.cpp +++ b/src/KM_log.cpp @@ -151,7 +151,8 @@ Kumu::StreamLogSink::WriteEntry(const LogEntry& Entry) if ( Entry.TestFilter(m_filter) ) { Entry.CreateStringWithOptions(buf, m_options); - write(m_fd, buf.c_str(), buf.size()); + ssize_t n = write(m_fd, buf.c_str(), buf.size()); + assert(n==buf.size()); } } |
