On Wed, Jan 20, 2010 at 12:43:15AM +0000, Xin LI wrote:
> @@ -147,6 +144,15 @@ main(int argc, char **argv)
> argc -= optind;
> argv += optind;
>
> + if (env_speed == NULL)
> + ;
> + else if (strcasecmp("max", env_speed) == 0)
> + speed = CDR_MAX_SPEED;
> + else
> + speed = atoi(env_speed) * 177;
> + if (speed <= 0)
> + errx(EX_USAGE, "Invalid speed: %s", optarg);
^^^^^^
This does not seem correct: ------------------------''''''
$ burncd -s foo -f bar
burncd: Invalid speed: bar
./danfe
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"