Get rid of unused parameter to rate_limit_start().

This commit is contained in:
Ben Pfaff committed 2008-11-21 12:23:01 -08:00
1 parent bd9bd56036
commit 92500deb63
3 files changed
+3 -6

No files matched your search

+1 -2
View File
@@ -244,8 +244,7 @@ static struct hook_class rate_limit_hook_class = {
void
rate_limit_start(struct secchan *secchan, const struct settings *s,
struct switch_status *ss,
struct rconn *local, struct rconn *remote)
struct switch_status *ss, struct rconn *remote)
{
struct rate_limiter *rl;
size_t i;
+1 -2
View File
@@ -40,7 +40,6 @@ struct settings;
struct switch_status;
void rate_limit_start(struct secchan *, const struct settings *,
struct switch_status *,
struct rconn *local, struct rconn *remote);
struct switch_status *, struct rconn *remote);
#endif /* ratelimit.h */
+1 -2
View File
@@ -195,8 +195,7 @@ main(int argc, char *argv[])
local_rconn, remote_rconn);
}
if (s.rate_limit) {
rate_limit_start(&secchan, &s, switch_status,
local_rconn, remote_rconn);
rate_limit_start(&secchan, &s, switch_status, remote_rconn);
}
if (s.command_acl[0]) {
executer_start(&secchan, &s);