Deleting documents example - few parameters in lcb_strerror() call


#1

I think that there is an error on that:

if (err != LCB_SUCCESS) {
printf(“Couldn’t schedule remove operation: %s\n”, lcb_strerror(err));
} else {

Right code:

if (err != LCB_SUCCESS) {
printf(“Couldn’t schedule remove operation: %s\n”, lcb_strerror(NULL,err));
} else {


#2

Where is this example? In the manual? API docs?

Thanks


#3

API docs:
http://docs.couchbase.com/developer/c-2.4/deleting.html


#4

Thank you, we’ll try to fix that!, though that is actually the manual :slight_smile: