summaryrefslogtreecommitdiff
path: root/ztcfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'ztcfg.c')
-rwxr-xr-xztcfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ztcfg.c b/ztcfg.c
index b85cd56..f2813aa 100755
--- a/ztcfg.c
+++ b/ztcfg.c
@@ -267,7 +267,7 @@ int spanconfig(char *keyword, char *args)
return -1;
}
}
- lc[spans].span = spans + 1;
+ lc[spans].span = span;
lc[spans].sync = timing;
/* Valid span */
spans++;