aboutsummaryrefslogtreecommitdiff
path: root/src/directive.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/directive.c')
-rw-r--r--src/directive.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/directive.c b/src/directive.c
index 34e5feb..1f11d77 100644
--- a/src/directive.c
+++ b/src/directive.c
@@ -498,10 +498,10 @@ run_check_script (const char *script, struct file_triplet *trp,
size_t len = strlen (buf);
if (debug_level > 2)
logmsg (LOG_DEBUG, _("read: %s"), buf);
- obstack_grow (&trp->obstk, buf, len);
+ txtacc_grow (trp->acc, buf, len);
total += size;
}
- obstack_1grow (&trp->obstk, 0);
+ txtacc_1grow (trp->acc, 0);
if (debug_level > 2)
logmsg (LOG_DEBUG, _("bytes read: %lu"), (unsigned long)total);
@@ -511,7 +511,7 @@ run_check_script (const char *script, struct file_triplet *trp,
signal (SIGCHLD, oldsig);
if (total)
- trp->check_diag = obstack_finish (&trp->obstk);
+ trp->check_diag = txtacc_finish (trp->acc);
trp->check_result = status;
if (WIFEXITED (status))

Return to:

Send suggestions and report system problems to the System administrator.