Commit 5971050e authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  Too many args is a bad thing too, some days


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91398 13f79535-47bb-0310-9956-ffa450edef68
parent 2c52aad4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@ int main (int argc, char *argv[])
    atexit(apr_terminate);

    apr_pool_create(&pool, NULL);
    if (argc < 3) {
    if (argc < 3 || argc > 4) {
        fprintf(stderr,
                "Usage: %s <logfile> <rotation time in seconds> "
                "[offset minutes from UTC]\n\n",
@@ -140,7 +140,7 @@ int main (int argc, char *argv[])
        exit(6);
    }

    use_strftime = (strstr(szLogRoot, "%") != NULL);
    use_strftime = (strchr(szLogRoot, '%') != NULL);
    if (apr_file_open_stdin(&f_stdin, pool) != APR_SUCCESS) {
        fprintf(stderr, "Unable to open stdin\n");
        exit(1);