camel_data_cache_get: Improve empty file handling.
authorMatthew Barnes <mbarnes@redhat.com>
Tue, 19 Jun 2012 21:03:07 +0000 (17:03 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Tue, 19 Jun 2012 21:44:15 +0000 (17:44 -0400)
commit608d9ccabb9246418dc96cde1c49d12ee2f0e02a
treeb230c517dc481fd8743283fbe9f225b85bf83b01
parent9ce3be5e6c44ac07c0dd8020627073c7427e7677
camel_data_cache_get: Improve empty file handling.

When an empty cache file is detected, set a GError with a descriptive
error message in addition to returning NULL.
camel/camel-data-cache.c