~ubuntu-branches/ubuntu/precise/dbus-python/precise

« back to all changes in this revision

Viewing changes to _dbus_bindings/message.c

  • Committer: Bazaar Package Importer
  • Author(s): Simon McVittie
  • Date: 2010-02-18 17:49:50 UTC
  • mfrom: (2.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100218174950-hjizbgi7hlwm0fhv
Tags: 0.83.1-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
606
606
        return NULL;
607
607
    }
608
608
    if (!self->msg) return DBusPy_RaiseUnusableMessage();
609
 
    if (!dbus_py_validate_bus_name(name, 1, 0)) return NULL;
 
609
    if (!dbus_py_validate_bus_name(name, 1, 1)) return NULL;
610
610
    if (!dbus_message_set_sender(self->msg, name)) return PyErr_NoMemory();
611
611
    Py_RETURN_NONE;
612
612
}