Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0
-
None
-
None
-
1
Description
So – it seems to be including the null terminator at the end. It appears like maybe the returned length is just the full length of the fixed length char array? But I could be wrong - just a guess.
Attachments
For Gerrit Dashboard: CCBC-1205 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
129197,2 | CCBC-1205: do not include trailing zero for endpoint length for KV context | master | libcouchbase | Status: MERGED | +2 | +1 |
Yes, the implementation of the endpoint right now is char array inside the structure. Do you want it to return one character less so that the caller wont see the null terminator?