Fixed parameter count with -q option
This commit is contained in:
parent
03c4291cf0
commit
cf6e6157b1
@ -13,6 +13,7 @@ v0.61.0 06-Jun-2004.
|
|||||||
updated and the mailout semafore is not set.
|
updated and the mailout semafore is not set.
|
||||||
Added checks in the mbmsg post command if the To parameter has
|
Added checks in the mbmsg post command if the To parameter has
|
||||||
the correct syntax for netmail and all other areas.
|
the correct syntax for netmail and all other areas.
|
||||||
|
Fixed parameter count if post is used with the -q option.
|
||||||
|
|
||||||
mbout:
|
mbout:
|
||||||
Prepared for ICM flag (FSP-1033).
|
Prepared for ICM flag (FSP-1033).
|
||||||
|
@ -117,7 +117,7 @@ int main(int argc, char **argv)
|
|||||||
if (strncasecmp(argv[i], "pa", 2) == 0)
|
if (strncasecmp(argv[i], "pa", 2) == 0)
|
||||||
do_pack = TRUE;
|
do_pack = TRUE;
|
||||||
if (strncasecmp(argv[i], "po", 2) == 0) {
|
if (strncasecmp(argv[i], "po", 2) == 0) {
|
||||||
if ((argc - i) != 6)
|
if (((argc - i) < 6) || ((argc - i) > 7))
|
||||||
Help();
|
Help();
|
||||||
do_post = TRUE;
|
do_post = TRUE;
|
||||||
too = argv[++i];
|
too = argv[++i];
|
||||||
|
Reference in New Issue
Block a user