Skip to content

Commit 32f1432

Browse files
committed
fix mongoc_socket_poll comment block
1 parent 4a678ac commit 32f1432

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/mongoc/mongoc-socket.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,20 +186,17 @@ _mongoc_socket_wait (int sd, /* IN */
186186
/*
187187
*--------------------------------------------------------------------------
188188
*
189-
* _mongoc_socket_poll --
189+
* mongoc_socket_poll --
190190
*
191191
* A multi-socket poll helper.
192192
*
193-
* @events: in most cases should be POLLIN or POLLOUT.
194-
*
195193
* @expire_at should be an absolute time at which to expire using
196194
* the monotonic clock (bson_get_monotonic_time(), which is in
197195
* microseconds). Or zero to not block at all. Or -1 to block
198196
* forever.
199197
*
200198
* Returns:
201-
* true if an event matched. otherwise false.
202-
* a timeout will return false.
199+
* The number of sockets ready.
203200
*
204201
* Side effects:
205202
* None.

0 commit comments

Comments
 (0)