@wkampich commented on this pull request.


In src/modules/lost/functions.c:

>  		LM_ERR("lost request failed\n");
 		goto err;
 	}
 
 	LM_DBG("findService request: [%.*s]\n", req.len, req.s);
 
 	/* send findService request to mapping server - HTTP POST */
-	curlres = httpapi.http_connect(_m, &con, NULL, &ret, mtlost, &req);
+	if(naptr) {
+		/* copy url */
+		len = 0;
+		urlrep = lost_copy_string(url, &len);

curl requires a zero terminated string as url, which is not added by the http_client API query function http_client_query_c


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.