go : fix "cb" -> "callNewSegment"

pull/1046/head
Georgi Gerganov 2023-06-25 14:34:10 +03:00
parent 5feb0dffba
commit 67564201ec
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ func (context *context) Process(
return ErrInternalAppError
}
// If the callback is defined then we force on single_segment mode
if cb != nil {
if callNewSegment != nil {
context.params.SetSingleSegment(true)
}