diff options
author | Havoc Pennington <hp@redhat.com> | 2003-03-31 20:56:29 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-03-31 20:56:29 +0000 |
commit | fa05de9230d62e7c427b5313796fc6ccd4d0ff60 (patch) | |
tree | 206890e8df6a575c150b901bf108b1c0a1e98824 /dbus/dbus-server-debug.c | |
parent | 7af59334331fbd097a24c4942c75181882b96747 (diff) |
2003-03-31 Havoc Pennington <hp@redhat.com>
Fix some annoying DBusString API and fix all affected code.
* dbus/dbus-string.c (_dbus_string_init): get rid of annoying
max_length argument
(_dbus_string_get_data): change to return string instead of using
an out param
(_dbus_string_get_const_data): ditto
(_dbus_string_get_data_len): ditto
(_dbus_string_get_const_data_len): ditto
Diffstat (limited to 'dbus/dbus-server-debug.c')
-rw-r--r-- | dbus/dbus-server-debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-server-debug.c b/dbus/dbus-server-debug.c index e61f8099..513e1df2 100644 --- a/dbus/dbus-server-debug.c +++ b/dbus/dbus-server-debug.c @@ -144,7 +144,7 @@ _dbus_server_debug_new (const char *server_name, if (debug_server == NULL) return NULL; - if (!_dbus_string_init (&address, _DBUS_INT_MAX)) + if (!_dbus_string_init (&address)) goto nomem_0; if (!_dbus_string_append (&address, "debug:name=") || |