Browse Source

Bugfix: Forgot to return pointer from function

Markus Koch 1 year ago
parent
commit
c6331711bd
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/mdiary.c

+ 2 - 0
src/mdiary.c

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