Improve comments on new AddUserAgent function.

This commit is contained in:
Dave Collins 2014-04-20 15:01:39 -05:00
parent 620cbdeb8e
commit d848bc453b

View file

@ -274,7 +274,9 @@ func validateUserAgent(userAgent string) error {
return nil
}
// AddUserAgent adds a custom user agent
// AddUserAgent adds a user agent to the user agent string for the version
// message. The version string is not defined to any strict format, although
// it is recommended to use the form "major.minor.revision" e.g. "2.6.41".
func (msg *MsgVersion) AddUserAgent(name string, version string,
comments ...string) error {