Skip to content
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.

Commit

Permalink
Adjusted comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
sirsean committed Jan 19, 2016
1 parent 2ae395a commit 5268e16
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions framer.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ func DefaultFramer(in string) string {
}

// RFC5425MessageLengthFramer prepends the message length to the front of the
// provided message, as defined in RFC 5425. This is required by syslog-ng,
// and is used with either RFC 3164 or 5424, over TCP+TLS.
// provided message, as defined in RFC 5425.
func RFC5425MessageLengthFramer(in string) string {
return fmt.Sprintf("%d %s", len(in), in)
}

0 comments on commit 5268e16

Please sign in to comment.