Add the second required argument to write()

git-svn-id: file:///home/svn/framework3/trunk@12518 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2011-05-03 03:09:20 +00:00
parent 23c355ba2c
commit fdc19b5e4a
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ module PassiveX
#
# The write function for Rex::IO::StreamAbstraction.monitor_rsock
#
def write(buf)
def write(buf, opts={})
write_remote(buf)
return buf.length
end