[OpenSIPS-Devel] [OpenSIPS/opensips] 8dfe15: json: set $json content to NULL if assignment fail...
    Liviu Chircu 
    liviu at opensips.org
       
    Thu Mar  5 17:35:07 CET 2015
    
    
  
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8dfe15e3ced61d959530bf25c3751d6707f1ed70
      https://github.com/OpenSIPS/opensips/commit/8dfe15e3ced61d959530bf25c3751d6707f1ed70
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-03-05 (Thu, 05 Mar 2015)
  Changed paths:
    M modules/json/json.c
  Log Message:
  -----------
  json: set $json content to NULL if assignment fails
This makes it possible to test for parsing errors if the $json variable
was already populated (possibly even from other SIP requests!)
    
    
More information about the Devel
mailing list