Menu

#4 --limit-broadcast not working

open
nobody
None
5
2007-12-30
2007-12-30
Anonymous
No

--limit--broadcast is failing with error "unrecognized option". Seems like the parameter isn't described in main.c, though init.c and mms.c got references to limitbroadcast & opt.limit_broadcast. This fix (to be applied at main.c) resolves this:
@@ -344,6 +344,7 @@
{ "input-file", required_argument, NULL, 'i' },
{ "level", required_argument, NULL, 'l' },
{ "limit-rate", required_argument, NULL, 164 },
+ { "limit-broadcast", required_argument, NULL, 181 },
{ "load-cookies", required_argument, NULL, 161 },
{ "no", required_argument, NULL, 'n' },
{ "output-document", required_argument, NULL, 'O' },
@@ -581,6 +582,9 @@
case 164:
setoptval ("limitrate", optarg);
break;
+ case 181:
+ setoptval ("limitbroadcast", optarg);
+ break;
case 157:
setoptval ("referer", optarg);
break;

Discussion


Log in to post a comment.

MongoDB Logo MongoDB