Browse code

- fixed bad fle descriptor tls update

Andrei Pelinescu-Onciul authored on 04/11/2003 19:17:59
Showing 1 changed files
... ...
@@ -652,7 +652,7 @@ skip:
652 652
 						 * stealing the fd under us or vice versa)
653 653
 						 * => lock on con->write_lock (ugly hack) */
654 654
 						lock_get(&con->write_lock);
655
-						tls_tcpconn_update_fd(con, s);
655
+						tls_tcpconn_update_fd(con, con->fd);
656 656
 						resp=tcp_read_req(con);
657 657
 						lock_release(&con->write_lock);
658 658
 					}else