lib/fastdfs-client/client_proxy.rb in fastdfs-client-1.2.0 vs lib/fastdfs-client/client_proxy.rb in fastdfs-client-1.3.0

- old
+ new

@@ -20,10 +20,10 @@ def dispose(cmd, content_len, header = [], content = [], &block) synchronize do @socket.connection do full_header = ProtoCommon.header_bytes(cmd, content_len) + header @socket.write(cmd, full_header) - Array(@content).each do |c| + Array(content).each do |c| @socket.write(cmd, c) end @socket.receive &block end end \ No newline at end of file