Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed CS and added a prototype.

  • Loading branch information...
commit b909ea82caa009ac7cd7b5dca245d85bf064447b 1 parent d9fd8c8
Derick Rethans authored October 18, 2012

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  mongo.c
6  mongo.c
@@ -448,8 +448,9 @@ PHP_METHOD(Mongo, connectUtil)
448 448
 
449 449
 
450 450
 /* {{{ Mongo->close()
451  
- */
452  
-PHP_METHOD(Mongo, close) {
  451
+   Closes a random connection */
  452
+PHP_METHOD(Mongo, close)
  453
+{
453 454
 	mongo_link *link;
454 455
 	mongo_connection *connection;
455 456
 	char *error_message;
@@ -464,7 +465,6 @@ PHP_METHOD(Mongo, close) {
464 465
 		free(error_message);
465 466
 		RETURN_FALSE;
466 467
 	}
467  
-
468 468
 }
469 469
 /* }}} */
470 470
 

0 notes on commit b909ea8

Please sign in to comment.
Something went wrong with that request. Please try again.