While I was reading through code figuring out how libprldap and libssldap work and interact, I stumbled across a couple of minor buglets.
Comment on attachment 78814 [details] [diff] [review] fixes, v1 r=mcs. Feel free to land this on the trunk any time.
Fix checked in on the trunk. I'm not bothering to land this on the client branchs, as the client code should never hit either of these problems.