##// END OF EJS Templates
util: fix signature of setsockopt in socket observer...
Augie Fackler -
r39095:ed8160e4 default
parent child Browse files
Show More
@@ -948,12 +948,12 b' class socketobserver(baseproxyobserver):'
948 948
949 949 self.fh.write('%s> gettimeout() -> %f\n' % (self.name, res))
950 950
951 def setsockopt(self, level, optname, value):
951 def setsockopt(self, res, level, optname, value):
952 952 if not self.states:
953 953 return
954 954
955 955 self.fh.write('%s> setsockopt(%r, %r, %r) -> %r\n' % (
956 self.name, level, optname, value))
956 self.name, level, optname, value, res))
957 957
958 958 def makeloggingsocket(logh, fh, name, reads=True, writes=True, states=True,
959 959 logdata=False, logdataapis=True):
General Comments 0
You need to be logged in to leave comments. Login now