aboutsummaryrefslogtreecommitdiffstats
path: root/get-contact-emails.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-06 00:48:18 +0200
committerMattias Andrée <maandree@kth.se>2021-04-06 00:48:18 +0200
commita784233ac8c7545968ae76a021f5d89fc10225e6 (patch)
treea8655d54686fadd3df98e3f31fade2635602ae22 /get-contact-emails.c
parentm (diff)
downloadcontacts-a784233ac8c7545968ae76a021f5d89fc10225e6.tar.gz
contacts-a784233ac8c7545968ae76a021f5d89fc10225e6.tar.bz2
contacts-a784233ac8c7545968ae76a021f5d89fc10225e6.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'get-contact-emails.c')
-rw-r--r--get-contact-emails.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/get-contact-emails.c b/get-contact-emails.c
index 1e688f6..a672b0a 100644
--- a/get-contact-emails.c
+++ b/get-contact-emails.c
@@ -8,10 +8,10 @@ int
main(int argc, char *argv[])
{
int display_ctx = 0, display_addr = 0;
+ const char *lookup_ctx = NULL, *lookup_addr = NULL;
struct passwd *user;
struct libcontacts_contact contact;
struct libcontacts_email **emails, *email;
- const char *lookup_ctx = NULL, *lookup_addr = NULL;
int ret = 0;
size_t i;