Commit fe81b32c authored by Pekka Pessi's avatar Pekka Pessi
Browse files

nta: nta_agent_set_params() now returns correct value for tport parameters set

Ignore-this: 5329ad20c55f25088d6aa0a3d1feab28

darcs-hash:20090303164057-db55f-004830afa69d0cd8d4ebf0770f2ecdf9ea5d811b.gz
parent aec86032
......@@ -1541,12 +1541,13 @@ int agent_set_params(nta_agent_t *agent, tagi_t *tags)
m = 0;
for (tport = agent->sa_tports; tport; tport = tport_next(tport)) {
m = tport_set_params(tport, TAG_NEXT(tags));
int m0 = tport_set_params(tport, TAG_NEXT(tags));
if (m0 < 0)
return m0;
if (m0 > m)
m = m0;
}
if (m == -1)
return m;
n += m;
if (aliases != NONE) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment