Bugfix: Forgot to return pointer from function

This commit is contained in:
Markus Koch 2017-03-24 20:18:33 +01:00
parent 684b1a4687
commit c6331711bd

View File

@ -456,6 +456,8 @@ struct mdiary_scanner *mdiary_scanner_new(gboolean gpg_enabled)
mdiary_scanner->entries_failed = 0; mdiary_scanner->entries_failed = 0;
mdiary_scanner->entries_encrypted = 0; mdiary_scanner->entries_encrypted = 0;
} }
return mdiary_scanner;
} }
void *mdiary_scanner_free(struct mdiary_scanner *mdiary_scanner) void *mdiary_scanner_free(struct mdiary_scanner *mdiary_scanner)