aboutsummaryrefslogtreecommitdiffstats
path: root/get-contact-name.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-name.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 '')
-rw-r--r--get-contact-name.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/get-contact-name.c b/get-contact-name.c
index 8a0ae0c..72b76c0 100644
--- a/get-contact-name.c
+++ b/get-contact-name.c
@@ -7,10 +7,11 @@ USAGE("[-F | -f | -l | n] contact-id ...");
int
main(int argc, char *argv[])
{
+ size_t offset = 0;
struct passwd *user;
struct libcontacts_contact contact;
int ret = 0;
- size_t i, offset = 0;
+ size_t i;
char *name;
ARGBEGIN {