Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed CS and added a prototype.

  • Loading branch information...
commit b909ea82caa009ac7cd7b5dca245d85bf064447b 1 parent d9fd8c8
Derick Rethans authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 mongo.c
6 mongo.c
View
@@ -448,8 +448,9 @@ PHP_METHOD(Mongo, connectUtil)
/* {{{ Mongo->close()
- */
-PHP_METHOD(Mongo, close) {
+ Closes a random connection */
+PHP_METHOD(Mongo, close)
+{
mongo_link *link;
mongo_connection *connection;
char *error_message;
@@ -464,7 +465,6 @@ PHP_METHOD(Mongo, close) {
free(error_message);
RETURN_FALSE;
}
-
}
/* }}} */
Please sign in to comment.
Something went wrong with that request. Please try again.