Connection::recv: Rethrow the original exception instead of a copy

Found by cppcheck.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2013-02-18 02:00:20 -05:00
committed by Keith Winstein
parent 5f807dfdf8
commit 5365d6b21d
+1 -1
View File
@@ -397,7 +397,7 @@ string Connection::recv( void )
assert( !islast ); assert( !islast );
continue; continue;
} else { } else {
throw e; throw;
} }
} }