From: Arvin Schnell Date: Mon, 22 Jun 2026 14:14:32 +0000 (+0200) Subject: - added documentation X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f0724862032ea774d792848c3e80552f70a9f099;p=thirdparty%2Fsnapper.git - added documentation --- diff --git a/client/proxy/commands.cc b/client/proxy/commands.cc index 3279d337..f561faaa 100644 --- a/client/proxy/commands.cc +++ b/client/proxy/commands.cc @@ -594,7 +594,6 @@ command_get_xfiles_by_pipe(DBus::Connection& conn, const string& config_name, un if (fclose(fin) != 0) SN_THROW(IOErrorException("reading pipe failed, fclose failed: " + stringerror(errno))); - return files; } diff --git a/dbus/DBusPipe.h b/dbus/DBusPipe.h index 63bacf6a..6dd4fe37 100644 --- a/dbus/DBusPipe.h +++ b/dbus/DBusPipe.h @@ -44,6 +44,9 @@ namespace DBus int get_fd() const { return _fd; } void set_fd(int fd) { _fd = fd; } + /* + * Also transfers ownership of fd to FILE iff the call is successful. + */ FILE* fdopen(const char* mode); private: