@wkampich commented on this pull request.


> +                                             tmp.len = 
> strlen(fsrdata->mapping->name->text);
+                                               name.s = lost_copy_string(tmp, 
&name.len);
+                                       }
+                               } else {
+                                       LM_ERR("name not found: [%.*s]\n", 
ret.len, ret.s);
+                                       goto err;
+                               }
+                               /* we are done */
+                               redirect = 0;
+                               break;
+                       case ERROR:
+                               /* get the errors element */
+                               if(fsrdata->errors != NULL) {
+                                       if((tmp.s = 
fsrdata->errors->issue->type) != NULL) {
+                                               tmp.len = 
strlen(fsrdata->errors->issue->type);
+                                               err.s = lost_copy_string(tmp, 
&err.len);

thanks, have incorporated it

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2675#discussion_r605184296
_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to