~ubuntu-branches/ubuntu/quantal/ceph/quantal

« back to all changes in this revision

Viewing changes to src/common/armor.c

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2012-08-27 08:23:21 UTC
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: package-import@ubuntu.com-20120827082321-2cfej6ddvk63vsqq
Tags: upstream-0.48.1
ImportĀ upstreamĀ versionĀ 0.48.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
                return c - 'a' + 26;
25
25
        if (c >= '0' && c <= '9')
26
26
                return c - '0' + 52;
27
 
        if (c == '+')
 
27
        if (c == '+' || c == '-')
28
28
                return 62;
29
 
        if (c == '/')
 
29
        if (c == '/' || c == '_')
30
30
                return 63;
31
31
        if (c == '=')
32
32
                return 0; /* just non-negative, please */