Skip to content

Commit

Permalink
Merge 8ac2f27 into a546dff
Browse files Browse the repository at this point in the history
  • Loading branch information
ps78674 committed Mar 16, 2020
2 parents a546dff + 8ac2f27 commit b2ecb9f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions message/compare_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ import "fmt"
func (response *CompareResponse) SetResultCode(code int) {
response.resultCode = ENUMERATED(code)
}
func (response *CompareResponse) SetDiagnosticMessage(code string) {
response.diagnosticMessage = LDAPString(code)
}

func readCompareResponse(bytes *Bytes) (ret CompareResponse, err error) {
var res LDAPResult
Expand Down
3 changes: 3 additions & 0 deletions message/search_result_done.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ func (s SearchResultDone) size() int {
func (l *SearchResultDone) SetResultCode(code int) {
l.resultCode = ENUMERATED(code)
}
func (l *SearchResultDone) SetDiagnosticMessage(code string) {
l.diagnosticMessage = LDAPString(code)
}

0 comments on commit b2ecb9f

Please sign in to comment.