X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=abook.c;h=4ef136c1f44082359a7516fd1f24ae5444de2aa5;hb=e9103e7aaac10a5210345e2478240baaae6df899;hp=866d71db4f38f9367c6ecc56cd115c4ea9654775;hpb=5b294375faaa96e4c8e724de274e8badccf3395c;p=pkg%2Fabook.git diff --git a/abook.c b/abook.c index 866d71d..4ef136c 100644 --- a/abook.c +++ b/abook.c @@ -452,10 +452,7 @@ mutt_query(char *str) init_mutt_query(); if( str == NULL || !strcasecmp(str, "all") ) { - struct db_enumerator e = init_db_enumerator(ENUM_ALL); - printf("All items\n"); - db_enumerate_items(e) - muttq_print_item(stdout, e.item); + export_file("muttq", "-"); } else { int search_fields[] = {NAME, EMAIL, NICK, -1}; int i;