/[pxelator]/couchdb/dnsd/views/ip,query,type,answer-count/map.js
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /couchdb/dnsd/views/ip,query,type,answer-count/map.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 363 by dpavlin, Sun Aug 30 10:15:44 2009 UTC revision 364 by dpavlin, Sun Aug 30 11:36:12 2009 UTC
# Line 1  Line 1 
1  function(doc) {  function(doc) {
2    if ( doc.package == 'dnsd' )    if ( doc.package.name == 'dnsd' )
3     if (doc.ans)     if (doc.ans)
4      doc.ans.forEach( function(d) {      doc.ans.forEach( function(d) {
5       emit([doc.peerhost, d.name, d.type, d.address || d.cname],1);       emit([doc.peerhost, d.name, d.type, d.address || d.cname],1);

Legend:
Removed from v.363  
changed lines
  Added in v.364

  ViewVC Help
Powered by ViewVC 1.1.26