From 835b293d35a209d38047126443d41fa7090daa4c Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Mon, 19 Jun 2017 21:20:57 +0200 Subject: Use our own variant of 'assert' and 'assert_perror'. Our variants print stack traces on failures. This will make locating errors much easier. --- ftpfs/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftpfs/dir.c') diff --git a/ftpfs/dir.c b/ftpfs/dir.c index 2ea29b53..44c85509 100644 --- a/ftpfs/dir.c +++ b/ftpfs/dir.c @@ -30,7 +30,7 @@ void free_entry (struct ftpfs_dir_entry *e) { - assert (e->deleted); + assert_backtrace (e->deleted); free (e->name); if (e->symlink_target) free (e->symlink_target); -- cgit v1.2.3