[OpenSIPS/opensips] e3dca7: Fix delete query for expired presentities.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSIPS/opensips] e3dca7: Fix delete query for expired presentities.

Bogdan-Andrei Iancu-2
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e3dca71eed1a5e7607bc58dff1ff8cf9ed4f8dc0
      https://github.com/OpenSIPS/opensips/commit/e3dca71eed1a5e7607bc58dff1ff8cf9ed4f8dc0
  Author: Bogdan-Andrei Iancu <[hidden email]>
  Date:   2018-11-01 (Thu, 01 Nov 2018)

  Changed paths:
    M modules/presence/publish.c

  Log Message:
  -----------
  Fix delete query for expired presentities.

Set the table to be used again before the delete (even if already set before the select), as other called functions like publ_notify() may change the table.
Reported by Dan Pascu.



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel