[Pkg-xmpp-devel] Bug#927036: set disable_random_resource = 0 has wrong effect

Marriott NZ marriott99 at gmx.com
Sun Apr 14 02:00:29 BST 2019


Package: mcabber
Version: 1.0.4-1.1
Severity: normal

mcabber queries "disable_random_resource" as a string option rather than a numeric (on/off) option. As a result, both "0" and "1" activate the option, and only the empty string can deactivate it.

In xmpp.c:1858:
  if (!settings_opt_get("disable_random_resource")) {
should be changed to:
  if (!settings_opt_get_int("disable_random_resource")) {

I reported it upstream more than a year ago, but the issue tracker is dead since 2017, maybe a debian patch could be added.
https://bitbucket.org/McKael/mcabber-crew/issues/163



More information about the Pkg-xmpp-devel mailing list