summaryrefslogtreecommitdiffstats
path: root/txr.c
diff options
context:
space:
mode:
Diffstat (limited to 'txr.c')
-rw-r--r--txr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/txr.c b/txr.c
index d369816f..281820e3 100644
--- a/txr.c
+++ b/txr.c
@@ -151,10 +151,10 @@ static int txr_main(int argc, char **argv)
int match_loglevel = opt_loglevel;
progname = argv[0] ? argv[0] : progname;
- protect(&spec_file_str, 0);
+ prot1(&spec_file_str);
yyin_stream = std_input;
- protect(&yyin_stream, 0);
+ prot1(&yyin_stream);
if (argc <= 1) {
hint();