Permalink
Browse files

make serving work with dnssd-1.3.1

  • Loading branch information...
1 parent 3750c37 commit e546dc72f0c4fd6cd1bb2aa499450133e94969c6 @rickenharp rickenharp committed with Aug 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/pastejour.rb
View
@@ -75,7 +75,7 @@ def self.serve(name, multiple, contents)
tr = DNSSD::TextRecord.new
tr["description"] = "A paste."
- DNSSD.register(name, SERVICE, "local", PORT, tr.encode) do |reply|
+ DNSSD.register(name, SERVICE, "local", PORT, tr) do |reply|
STDERR.puts "Pasting #{name}..."
end

0 comments on commit e546dc7

Please sign in to comment.