diff options
Diffstat (limited to 'dbus/dbus-marshal-header.c')
| -rw-r--r-- | dbus/dbus-marshal-header.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/dbus/dbus-marshal-header.c b/dbus/dbus-marshal-header.c index 8c5120cf..8346c3af 100644 --- a/dbus/dbus-marshal-header.c +++ b/dbus/dbus-marshal-header.c @@ -505,7 +505,7 @@ _dbus_header_copy (const DBusHeader *header,   *   * @param header the header   * @param message_type the message type - * @param destination service field or #NULL + * @param destination destination field or #NULL   * @param path path field or #NULL   * @param interface interface field or #NULL   * @param member member field or #NULL @@ -833,7 +833,7 @@ load_and_validate_field (DBusHeader     *header,    switch (field)      {      case DBUS_HEADER_FIELD_DESTINATION: -      string_validation_func = _dbus_validate_service; +      string_validation_func = _dbus_validate_bus_name;        bad_string_code = DBUS_INVALID_BAD_DESTINATION;        break;      case DBUS_HEADER_FIELD_INTERFACE: @@ -861,7 +861,7 @@ load_and_validate_field (DBusHeader     *header,        break;      case DBUS_HEADER_FIELD_SENDER: -      string_validation_func = _dbus_validate_service; +      string_validation_func = _dbus_validate_bus_name;        bad_string_code = DBUS_INVALID_BAD_SENDER;        break;  | 
