security.c: We should always register the socket handler.
authorJulien Chaffraix <julien.chaffraix@gmail.com>
Mon, 27 Sep 2010 02:16:38 +0000 (19:16 -0700)
committerJulien Chaffraix <julien.chaffraix@gmail.com>
Wed, 29 Sep 2010 05:05:24 +0000 (22:05 -0700)
commitdacc44ddc2920cb1b2e3550bc803f7521c3166fa
tree9d20cede836d7b529132766a19c90bafae247c9f
parentfc9f3698291d0ba59494207feed674e8d29d9c77
security.c: We should always register the socket handler.

Following a change in the way socket handler are registered, the custom
recv and send method were conditionaly registered.
We need to register them everytime to handle the ftp security
extensions.

Re-added the clear text handling in sec_recv.
lib/security.c