Switch to unified view

a/src/utils/execmd.cpp b/src/utils/execmd.cpp
...
...
534
    while (nwritten < data.length()) {
534
    while (nwritten < data.length()) {
535
    if (m_killRequest)
535
    if (m_killRequest)
536
        break;
536
        break;
537
    int n = con->send(data.c_str() + nwritten, data.length() - nwritten);
537
    int n = con->send(data.c_str() + nwritten, data.length() - nwritten);
538
    if (n < 0) {
538
    if (n < 0) {
539
        LOGERR(("ExecCmd::doexec: send failed\n"));
539
        LOGERR(("ExecCmd::send: send failed\n"));
540
        return -1;
540
        return -1;
541
    }
541
    }
542
    nwritten += n;
542
    nwritten += n;
543
    }
543
    }
544
    return nwritten;
544
    return nwritten;