Commit ff95af18 ff95af18ea9e38cbb97b01e5ef2c8b7fcc98a132 by Sergey Poznyakoff

amd: bugfix.

* mailbox/amd.c (read_size_file): Fix return value.
1 parent dc0dbafe
...@@ -1005,6 +1005,8 @@ read_size_file (struct _amd_data *amd, mu_off_t *psize) ...@@ -1005,6 +1005,8 @@ read_size_file (struct _amd_data *amd, mu_off_t *psize)
1005 rc = 1; 1005 rc = 1;
1006 fclose (fp); 1006 fclose (fp);
1007 } 1007 }
1008 else
1009 rc = 1;
1008 free (name); 1010 free (name);
1009 return rc; 1011 return rc;
1010 } 1012 }
......