Skip to content

Commit

Permalink
Fix comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
scudette committed Jun 8, 2018
1 parent 75928bf commit d7f50ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion actions/proto/fingerprint.proto
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ message FingerprintTuple {
// The fingerprinting methods the fingerprinter can be asked to perform.
// If none is given, all are applied.
enum Type {
FPT_GENERICc = 0;
FPT_GENERIC = 0;
FPT_PE_COFF = 1;
};
// The hash functions that a fingerprinting method may employ.
Expand Down
3 changes: 3 additions & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ func (a *StringArray) UnmarshalYAML(unmarshal func(interface{}) error) error {
return nil
}

// GRR erroneously writes all YAML fields as strings even Integers
// (e.g. Frontend_bind_port: '8080' instead of Frontend_bind_port:
// 8080), so we need to be able to handle either form.
type Integer uint64

func (self *Integer) UnmarshalYAML(unmarshal func(interface{}) error) error {
Expand Down

0 comments on commit d7f50ee

Please sign in to comment.