> + } else {
> \
> + LM_DBG("flags2 = %i\n",
> p->con_list[CURRCON(__ah)].flags); \
> + if ((--__ah->cons_rem) == 0) {
> \
> + LM_ERR("All databases failed!! No hope for
> you!\n"); \
> + return -1;
> \
> + }
> \
> +
> \
> + /* try next*/
> \
> + rc = -1;
> \
> + CURRCON(__ah) = (CURRCON(__ah)+1)%p->size;
> \
> + }
> \
> + LM_DBG("curent_con = %i\n", CURRCON(__ah));
> \
> + } while ((__ah)->cons_rem); /* should never exit here */
> \
> +
> \
> + return rc;
> \
> +}while (0);[This](https://sourcemaking.com/files/sm/images/spagett.jpg) is all I can say about the runaway macros in `db_virtual`. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/715/files#r53200609
_______________________________________________ Devel mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
