samuel/go-zookeeper — pull request #10 by domwong (2013-06-26 11:40:26+00:00)
Title: Bug in Lock() method causing it to wait indefinitely

I noticed a bug when using Lock() method which causes it to wait indefinitely listening on an uninitialised channel. Very quick fix which is compliant with the zookeeper recipe spec http://zookeeper.apache.org/doc/r3.4.5/recipes.html#sc_recipes_Locks