[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/icecream-make-it-cool/services
From: Dirk Mueller <mueller () kde ! org>
Date: 2008-02-12 14:34:46
Message-ID: 1202826886.138885.28755.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 774115 by mueller:
code cleanup
M +4 -5 scheduler.cpp
--- branches/work/icecream-make-it-cool/services/scheduler.cpp #774114:774115
@@ -1108,7 +1108,7 @@
}
static bool
-handle_login (MsgChannel *c, Msg *_m)
+handle_login (CS *cs, Msg *_m)
{
LoginMsg *m = dynamic_cast<LoginMsg *>(_m);
if (!m)
@@ -1116,7 +1116,6 @@
std::ostream& dbg = trace();
- CS *cs = static_cast<CS *>(c);
cs->remote_port = m->port;
cs->compiler_versions = m->envs;
cs->max_jobs = m->chroot_possible ? m->max_kids : 0;
@@ -1133,7 +1132,7 @@
if (cs->name == *it)
return false;
- dbg << "login " << m->nodename << " protocol version: " << c->protocol;
+ dbg << "login " << m->nodename << " protocol version: " << cs->protocol;
handle_monitor_stats( cs );
/* remove any other clients with the same IP, they must be stale */
@@ -1160,8 +1159,8 @@
#endif
/* Configure the daemon */
- if (IS_PROTOCOL_24( c ))
- c->send_msg (ConfCSMsg(icecream_bench_code));
+ if (IS_PROTOCOL_24( cs ))
+ cs->send_msg (ConfCSMsg(icecream_bench_code));
return true;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic