Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Initialize rw_timeout

(cherry picked from commit b8827d8)
  • Loading branch information...
commit f8de2da74cee561f17b453b7955a4695db8b8429 1 parent fc261a7
Tim Mensch authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mongo_connection.cpp
View
2  mongo_connection.cpp
@@ -36,7 +36,7 @@ static int connection_new(lua_State *L) {
try {
bool auto_reconnect;
- double rw_timeout;
+ double rw_timeout=0;
if (lua_type(L,1) == LUA_TTABLE) {
// extract arguments from table
lua_getfield(L, 1, "auto_reconnect");
Please sign in to comment.
Something went wrong with that request. Please try again.