• Thomas Haller's avatar
    proxy: introduce call-id for clearing pacmanager configuration · b7a30dbf
    Thomas Haller authored
    nm_pacrunner_manager_remove() required a "tag" argument. It was a
    bug for callers trying to remove a configuration for a non-existing
    That effectively means, the caller must keep track of whether a certain
    "tag" is pending. The caller also must remember the tag -- a tag that he
    must choose uniquely in the first place.
    Turn that around and have nm_pacrunner_manager_send() return a (non
    NULL) call-id. This call-id may later be used to remove the
    Apparently, previously the tracking of the "tag" was not always correct
    and we hit the assertion in nm_pacrunner_manager_remove().
    (cherry picked from commit b04a9c90)
nm-pacrunner-manager.h 2.54 KB