Fixed a wrong break location.

This commit is contained in:
OSQZSS 2021-01-05 07:09:41 +09:00 committed by GitHub
parent d361b2c915
commit bf998ab36c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1819,9 +1819,8 @@ int main(int argc, char *argv[])
t0.sec = (double)gmt->tm_sec;
date2gps(&t0, &g0);
break;
}
break;
case 't':
sscanf(optarg, "%d/%d/%d,%d:%d:%lf", &t0.y, &t0.m, &t0.d, &t0.hh, &t0.mm, &t0.sec);
if (t0.y<=1980 || t0.m<1 || t0.m>12 || t0.d<1 || t0.d>31 ||