File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ extension SocketDescriptor.Event {
128128 retryOnInterrupt: Bool
129129 ) -> Result < SocketDescriptor . Event , Errno > {
130130 valueOrErrno ( retryOnInterrupt: retryOnInterrupt) {
131- system_eventfd ( counter. rawValue , flags. rawValue)
131+ system_eventfd ( counter, flags. rawValue)
132132 } . map ( { SocketDescriptor . Event ( rawValue: $0) } )
133133 }
134134
@@ -138,7 +138,7 @@ extension SocketDescriptor.Event {
138138 flags: SocketDescriptor . Event . Flags = [ ] ,
139139 retryOnInterrupt: Bool = true
140140 ) throws ( Errno) {
141- self = try Self . _events ( counter. rawValue , flags: flags, retryOnInterrupt: retryOnInterrupt) . get ( )
141+ self = try Self . _events ( counter, flags: flags, retryOnInterrupt: retryOnInterrupt) . get ( )
142142 }
143143
144144 /// Deletes a file descriptor.
@@ -201,8 +201,8 @@ extension SocketDescriptor.Event {
201201 public func write(
202202 _ counter: Counter ,
203203 retryOnInterrupt: Bool = true
204- ) throws ( Errno) -> Int {
205- try _write ( buffer , retryOnInterrupt: retryOnInterrupt) . get ( )
204+ ) throws ( Errno) {
205+ try _write ( counter , retryOnInterrupt: retryOnInterrupt) . get ( )
206206 }
207207
208208 @usableFromInline
You can’t perform that action at this time.
0 commit comments