Skip to content

Commit 79dc482

Browse files
rdementiCopilot
authored andcommitted
Update src/pcm-sensor-server.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent be63014 commit 79dc482

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pcm-sensor-server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,7 @@ class basic_socketbuf : public std::basic_streambuf<CharT> {
12371237
*Base::pptr() = traits_type::to_char_type(ch);
12381238
Base::pbump(1);
12391239
}
1240-
return bytesWritten; // Anything but traits_type::eof() to signal ok.
1240+
return traits_type::not_eof( ch );
12411241
}
12421242

12431243
virtual int_type underflow() override {

0 commit comments

Comments
 (0)