diff options
author | Joe <rbo@gmx.us> | 2024-02-02 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-02-02 20:20:20 +0100 |
commit | e9e2f686737d9ff395af502f9aeee17548dfcb2c (patch) | |
tree | ed60b6c8f16aa4debebb76f478a1bd7329a14fa5 /src/c_parse.go | |
parent | stack (diff) | |
download | hardflip-e9e2f686737d9ff395af502f9aeee17548dfcb2c.tar.gz hardflip-e9e2f686737d9ff395af502f9aeee17548dfcb2c.tar.bz2 hardflip-e9e2f686737d9ff395af502f9aeee17548dfcb2c.tar.xz hardflip-e9e2f686737d9ff395af502f9aeee17548dfcb2c.tar.zst hardflip-e9e2f686737d9ff395af502f9aeee17548dfcb2c.zip |
func pointers yo
Diffstat (limited to 'src/c_parse.go')
-rw-r--r-- | src/c_parse.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c_parse.go b/src/c_parse.go index 4bb70dd..9ce5b31 100644 --- a/src/c_parse.go +++ b/src/c_parse.go @@ -115,7 +115,7 @@ func c_read_yaml_file(file string, ui *HardUI) (*HostNode, error) { if host.Height == 0 { host.Height = 1200 } - } else if host.Protocol > 3 { + } else if host.Protocol > PROTOCOL_MAX { return nil, errors.New(file + ": unknown protocol") } if host.Quality > 2 { |