diff --git a/examples/interfaces/07.blob.cpp b/examples/interfaces/07.blob.cpp index a6f06fb7f9..ef4618a8bb 100644 --- a/examples/interfaces/07.blob.cpp +++ b/examples/interfaces/07.blob.cpp @@ -57,7 +57,7 @@ static void drop(IAttachment** att) // drop database (will close interface) (*att)->dropDatabase(&status); - if (status.getState() && IStatus::STATE_ERRORS) + if (status.getState() & IStatus::STATE_ERRORS) { errPrint(&status); fprintf(stderr, "*** Drop database failed - do it manually before next run ***\n");