Branch: Tag:

2021-05-02

2021-05-02 22:32:30 by Stephen R. van den Berg <srb@cuci.nl>

Complex _sprintfs in destructed objects fixated.

718:    private string _sprintf(int type) {    string res;    if (!this) // Not in destructed objects -  return UNDEFINED; +  return "(destructed)";    switch (type) {    case 'O':    int fd = -1;    if (socket)    catch(fd = socket->query_fd());    if (!this) // Not in destructed objects -  return UNDEFINED; +  return "(destructed)";    res = predef::sprintf("conxion fd: %d input queue: %d/%d "    "queued portals: %d output queue: %d/%d\n"    "started: %d\n",
827:    protected string _sprintf(int type) {    string res;    if (!this) // Not in destructed objects -  return UNDEFINED; +  return "(destructed)";    switch (type) {    case 'O':    int fd = -1;
1827:    private string _sprintf(int type) {    string res;    if (!this) // Not in destructed objects -  return UNDEFINED; +  return "(destructed)";    switch (type) {    case 'O':    res = sprintf(DRIVERNAME".proxy(%s@%s:%d/%s,%d,%d)",