Switch to unified view

a/scctl_src/scctl.cpp b/scctl_src/scctl.cpp
...
...
121
        out << endl;
121
        out << endl;
122
    }
122
    }
123
    return out.str();
123
    return out.str();
124
}
124
}
125
125
126
#ifdef HAVE_WITHSTATUS_IN_LINN
127
void parseToOutput(bool ok, const vector<string>& reasons, string& out)
126
void parseToOutput(bool ok, const vector<string>& reasons, string& out)
128
{
127
{
129
    ostringstream oss;
128
    ostringstream oss;
130
    vector<string> error_reasons;
129
    vector<string> error_reasons;
131
    if (!reasons.empty()) {
130
    if (!reasons.empty()) {
...
...
144
        }
143
        }
145
    }
144
    }
146
    out = oss.str();
145
    out = oss.str();
147
    LOGDEB("out: " << out << endl);
146
    LOGDEB("out: " << out << endl);
148
}
147
}
149
#endif
150
148
151
int dosomething(int opflags, const vector<string>& args, string& out)
149
int dosomething(int opflags, const vector<string>& args, string& out)
152
{
150
{
153
    if (opflags & OPT_l) {
151
    if (opflags & OPT_l) {
154
        out = showReceivers(opflags);
152
        out = showReceivers(opflags);