]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rados_sync: don't hash paths with periods
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Wed, 1 Jun 2011 00:03:23 +0000 (17:03 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Wed, 1 Jun 2011 00:03:23 +0000 (17:03 -0700)
A period is not such a bad character.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
src/rados_sync.cc

index 8e2b06f948a45b2276ad280af82536a8bea5c359..d8b88396b40f901e93705cba4ba3a0e66d460adc 100644 (file)
@@ -197,10 +197,6 @@ public:
        c = '_';
        need_hash = true;
       }
-      else if (c == '.') {
-       c = '@';
-       need_hash = true;
-      }
       else if (c == '\n') {
        c = '@';
        need_hash = true;