[OpenSIPS-Devel] [OpenSIPS/opensips] d39760: proto_tls: report error with correct variable

Bogdan Andrei IANCU noreply at github.com
Thu Dec 7 16:27:36 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d397608b09315c573fbb57685edc1f2a70badd6e
      https://github.com/OpenSIPS/opensips/commit/d397608b09315c573fbb57685edc1f2a70badd6e
  Author: James Stanley <james at incoherency.co.uk>
  Date:   2023-12-05 (Tue, 05 Dec 2023)

  Changed paths:
    M modules/proto_tls/proto_tls.c

  Log Message:
  -----------
  proto_tls: report error with correct variable

Assigning to `len` at this point has no effect, and comparing with the
code not far above, with the same comment, and the code under
`con_release` ending with `return rlen;` it is obvious that the
intention was to assign to `rlen` instead of `len`.


  Commit: 2cb54ee862f4fe93586e4383519043e4dbaa2773
      https://github.com/OpenSIPS/opensips/commit/2cb54ee862f4fe93586e4383519043e4dbaa2773
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M modules/proto_tls/proto_tls.c

  Log Message:
  -----------
  Merge pull request #3266 from jes/jes/proto_tls-rlen

proto_tls: report error with correct variable


Compare: https://github.com/OpenSIPS/opensips/compare/5d90a34b401c...2cb54ee862f4



More information about the Devel mailing list