pike.git / lib / modules / Sql.pmod / pgsql_util.pmod

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql_util.pmod:758:       protected string _sprintf(int type) {    string res;    if (!this) // Not in destructed objects    return "(destructed)";    switch (type) {    case 'O':    int fd = -1;    if (socket)    catch(fd = socket->query_fd()); -  if (!this) // Not in destructed objects +  if (!this || !i) // Not in destructed objects    return "(destructed)";    res = predef::sprintf("conxion fd: %d input queue: %d/%d "    "queued portals: %d output queue: %d/%d\n"    "started: %d\n",    fd, sizeof(i), i->_size_object(),    qportals && qportals->size(), sizeof(this), _size_object(),    !!started);    break;    }    return res;