Permalink
Browse files

Fixing the incredibly rare case of overlap per @isaacs suggestion.

  • Loading branch information...
1 parent 6aa751c commit 3d51664958aa39faf5b8f1c4e6c0c8c40bc86cb8 @mikeal mikeal committed Feb 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 main.js
View
2 main.js
@@ -57,7 +57,7 @@ function File (options) {
}
if (!err) {
- self.etag = crypto.createHash('md5').update(stats.ino + stats.mtime + stats.size).digest("hex")
+ self.etag = crypto.createHash('md5').update(stats.ino+'/'+stats.mtime+'/'+stats.size).digest("hex")
self.lastmodified = rfc822.getRFC822Date(stats.mtime)
}

0 comments on commit 3d51664

Please sign in to comment.