Skip to content

Commit

Permalink
make serving work with dnssd-1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rickenharp authored and jbarnette committed Aug 22, 2010
1 parent 3750c37 commit e546dc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pastejour.rb
Expand Up @@ -75,7 +75,7 @@ def self.serve(name, multiple, contents)
tr = DNSSD::TextRecord.new tr = DNSSD::TextRecord.new
tr["description"] = "A paste." 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}..." STDERR.puts "Pasting #{name}..."
end end


Expand Down

0 comments on commit e546dc7

Please sign in to comment.