Permalink
Browse files

fix bug on mwbinary sendfile

  • Loading branch information...
1 parent b864d70 commit 2acf7bd98452779871cfbace845e93c36d7df0ab @rep rep committed Nov 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 dionaea/hpfeeds.py
View
2 dionaea/hpfeeds.py
@@ -167,7 +167,7 @@ def publish(self, channel, **kwargs):
def sendfile(self, filepath):
# does not read complete binary into memory, read and send chunks
if not self.filehandle:
- self.sendfileheader(i.file)
+ self.sendfileheader(filepath)
self.sendfiledata()
else: self.sendfiles.append(filepath)

0 comments on commit 2acf7bd

Please sign in to comment.