daemon: Split out checksum type to program name mapping into function.
authorRichard Jones <rjones@redhat.com>
Fri, 23 Apr 2010 12:42:10 +0000 (13:42 +0100)
committerRichard Jones <rjones@redhat.com>
Fri, 23 Apr 2010 16:10:07 +0000 (17:10 +0100)
commitad7afde90f1f96142617ccfff392f2f14b2ad024
tree5f0884c05dc2ea48ee68d54a4f416e2de85aff34
parent8f60b413c3209329f0d21ecf686d8d7c07095d9a
daemon: Split out checksum type to program name mapping into function.

This shouldn't change the semantics of the program.

For stable-1.2 this was cherry picked from commit af29c84 and
rebased against the older code in daemon/checksum.c.
daemon/checksum.c