Skip to content

Syntax error in sunwait.cpp #37

@goverp

Description

@goverp

Hi, thanks for this very useful piece of code that I've used for some time.
I've just cloned it onto my new Raspberry Pi and tried to run "make", and it fails in compilation in sunwait.cpp at lines 707 on, where the if statement has incorrect bracketing. I think it should be:

else if   (!strcmp (arg, "debug")           ||
              !strcmp (arg, "--debug")      ||
              !strcmp (arg, "--verbose")    ||
              !strcmp (arg, "-v"))           pRun->debug = ONOFF_ON;

If I trusted my C++ and git skills more, I'd send a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions