mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-08 19:38:01 +02:00
2003-01-19 Anders Carlsson <andersca@codefactory.se>
* dbus/dbus-string.c (_dbus_string_move_len): Don't delete all of the string, just as long as specified.
This commit is contained in:
parent
14cc2707a0
commit
8a587f6415
2 changed files with 7 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2003-01-19 Anders Carlsson <andersca@codefactory.se>
|
||||
|
||||
* dbus/dbus-string.c (_dbus_string_move_len): Don't delete all
|
||||
of the string, just as long as specified.
|
||||
|
||||
2003-01-19 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* dbus/dbus-connection.c (dbus_connection_get_is_authenticated):
|
||||
|
|
|
|||
|
|
@ -906,7 +906,7 @@ _dbus_string_move_len (DBusString *source,
|
|||
return FALSE;
|
||||
|
||||
delete (real_source, start,
|
||||
real_source->len - start);
|
||||
len);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
@ -1763,7 +1763,7 @@ test_base64_roundtrip (const unsigned char *data,
|
|||
*
|
||||
* @todo Need to write tests for _dbus_string_copy() and
|
||||
* _dbus_string_move() moving to/from each of start/middle/end of a
|
||||
* string.
|
||||
* string. Also need tests for _dbus_string_move_len ()
|
||||
*
|
||||
* @returns #TRUE on success.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue