        data.size = strlen(s);
        switch (ret = dbc-&gt;put(dbc, &amp;key, &amp;data, DB_KEYLAST)) {
        case 0:
            break;
        case DB_LOCK_DEADLOCK:
        default:
            va_end(ap);

            /* Retry the operation. */
            if ((t_ret = dbc-&gt;close(dbc)) != 0) {
                dbenv-&gt;err(
                    dbenv, t_ret, "dbc-&gt;close");
                exit (1);
            }
            if ((t_ret = tid-&gt;abort(tid)) != 0) {
                dbenv-&gt;err(