summaryrefslogtreecommitdiff
path: root/tbl-dctrl/tbl-dctrl.c
diff options
context:
space:
mode:
Diffstat (limited to 'tbl-dctrl/tbl-dctrl.c')
-rw-r--r--tbl-dctrl/tbl-dctrl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tbl-dctrl/tbl-dctrl.c b/tbl-dctrl/tbl-dctrl.c
index b90a578..848f3f3 100644
--- a/tbl-dctrl/tbl-dctrl.c
+++ b/tbl-dctrl/tbl-dctrl.c
@@ -1,5 +1,5 @@
/* dctrl-tools - Debian control file inspection tools
- Copyright © 2005, 2006, 2007, 2008, 2009, 2010 Antti-Juhani Kaijanaho
+ Copyright © 2005, 2006, 2007, 2008, 2009, 2010, 2011 Antti-Juhani Kaijanaho
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -418,7 +418,7 @@ int main(int argc, char * argv[])
struct paragraph *p = pb.paras[i];
assert(p->nfields <= n);
for (size_t j = 0; j < p->nfields; j++) {
- if (!p->fields[j].present) continue;
+ if (p->fields[j].first == NULL) continue;
struct fsaf_read_rv r = get_field(p, j, -1);
size_t len = mbs_len(r.b, r.len,
p->common->fp->fname);