Skip to content

Commit

Permalink
Fix socket API change
Browse files Browse the repository at this point in the history
  • Loading branch information
wingo committed May 18, 2018
1 parent 855aae7 commit 3ee13d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/stream/socket.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ function Socket:connect_unix(file, stype)
end

function listen_unix(file, args)
args = args or {}
local s = socket('unix', args.stype or "stream", args.protocol)
s:listen_unix(file)
if args.ephemeral then
Expand Down

0 comments on commit 3ee13d9

Please sign in to comment.