Skip to content

Commit 69569e1

Browse files
committed
Merge branch 'master' of github.com:mongodb/mongo
2 parents 0c260c0 + aa36e3b commit 69569e1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/mongo/db/clientcursor.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,10 @@ namespace mongo {
309309
static ClientCursor* find_inlock(CursorId id, bool warn = true) {
310310
CCById::iterator it = clientCursorsById.find(id);
311311
if ( it == clientCursorsById.end() ) {
312-
if ( warn )
313-
OCCASIONALLY out() << "ClientCursor::find(): cursor not found in map " << id << " (ok after a drop)\n";
312+
if ( warn ) {
313+
OCCASIONALLY out() << "ClientCursor::find(): cursor not found in map '" << id
314+
<< "' (ok after a drop)" << endl;
315+
}
314316
return 0;
315317
}
316318
return it->second;

0 commit comments

Comments
 (0)