[Pkg-voip-commits] [pjproject] 11/14: r5473 svn backport Fix pending query

Bernhard Schmidt berni at moszumanska.debian.org
Thu Nov 10 09:32:02 UTC 2016


This is an automated email from the git hooks/post-receive script.

berni pushed a commit to branch master
in repository pjproject.

commit 9a5d2b988bb0de50dac6fcf2295055104be423d4
Author: Richard Mudgett <rmudgett at digium.com>
Date:   Fri Oct 28 12:12:28 2016 -0500

    r5473 svn backport Fix pending query
    
    
    Re #1974:
    If there is a pending query, set the return value to that query (instead of NULL)
    
    Thanks to Richard Mudgett for the patch.
    Patch-Category: asterisk
---
 pjlib-util/src/pjlib-util/resolver.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pjlib-util/src/pjlib-util/resolver.c b/pjlib-util/src/pjlib-util/resolver.c
index d24ef9d..fe687b7 100644
--- a/pjlib-util/src/pjlib-util/resolver.c
+++ b/pjlib-util/src/pjlib-util/resolver.c
@@ -940,6 +940,7 @@ PJ_DEF(pj_status_t) pj_dns_resolver_start_query( pj_dns_resolver *resolver,
 	/* Done. This child query will be notified once the "parent"
 	 * query completes.
 	 */
+	p_q = nq;
 	status = PJ_SUCCESS;
 	goto on_return;
     } 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/pjproject.git



More information about the Pkg-voip-commits mailing list