diff options
author | Alain Magloire <alainm@gnu.org> | 2001-05-07 04:36:40 +0000 |
---|---|---|
committer | Alain Magloire <alainm@gnu.org> | 2001-05-07 04:36:40 +0000 |
commit | 43ba0c68726d41135916aaaf9f4dfffdb56af872 (patch) | |
tree | b629eebf2462a65f3481a8f344a8ebcdf7c55ef3 /examples/addr.c | |
parent | 33825193d58de51f0d9fbe261180159d1f623d8f (diff) | |
download | mailutils-43ba0c68726d41135916aaaf9f4dfffdb56af872.tar.gz mailutils-43ba0c68726d41135916aaaf9f4dfffdb56af872.tar.bz2 |
Implemented UID fetch BODYSTRUCTURE and multiple access to mailbox via IMAP
Diffstat (limited to 'examples/addr.c')
-rw-r--r-- | examples/addr.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/examples/addr.c b/examples/addr.c index 5f495a052..e32b60766 100644 --- a/examples/addr.c +++ b/examples/addr.c @@ -78,11 +78,15 @@ static int parse(const char* str) address_get_local_part(address, no, buf, sizeof(buf), &got); - if(got) printf(" local-part <%s>", buf); + if(got) { + printf(" local-part <%s>", buf); - address_get_domain(address, no, buf, sizeof(buf), &got); + address_get_domain(address, no, buf, sizeof(buf), &got); - if(got) printf(" domain <%s>\n", buf); + if(got) printf(" domain <%s>", buf); + + printf("\n"); + } address_get_route(address, no, buf, sizeof(buf), &got); |