diff options
author | Havoc Pennington <hp@redhat.com> | 2002-12-27 02:07:21 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2002-12-27 02:07:21 +0000 |
commit | b3ef8b0e9bd2719d502c7f2e0cf829e151386162 (patch) | |
tree | 59ce69b5939f2dbe03bb5e5e4d8aab6a1635835e /dbus/dbus-sysdeps.c | |
parent | ff5283ab92c668453fd2f28c1715a1e0e9b949f5 (diff) |
2002-12-26 Havoc Pennington <hp@pobox.com>
* dbus/dbus-auth.c: fixes fixes fixes
* dbus/dbus-transport-unix.c: wire up support for
encoding/decoding data on the wire
* dbus/dbus-auth.c (_dbus_auth_encode_data)
(_dbus_auth_decode_data): append to target string
instead of nuking it.
Diffstat (limited to 'dbus/dbus-sysdeps.c')
-rw-r--r-- | dbus/dbus-sysdeps.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dbus/dbus-sysdeps.c b/dbus/dbus-sysdeps.c index 76b9c5ce..fed88144 100644 --- a/dbus/dbus-sysdeps.c +++ b/dbus/dbus-sysdeps.c @@ -116,6 +116,12 @@ _dbus_read (int fd, { /* put length back (doesn't actually realloc) */ _dbus_string_set_length (buffer, start + bytes_read); + +#if 0 + if (bytes_read > 0) + _dbus_verbose_bytes_of_string (buffer, start, bytes_read); +#endif + return bytes_read; } } @@ -148,6 +154,11 @@ _dbus_write (int fd, if (errno == EINTR) goto again; +#if 0 + if (bytes_written > 0) + _dbus_verbose_bytes_of_string (buffer, start, bytes_written); +#endif + return bytes_written; } |