summaryrefslogtreecommitdiffstats
path: root/src/oplist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/oplist.c')
-rw-r--r--src/oplist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/oplist.c b/src/oplist.c
index 1781962..a750767 100644
--- a/src/oplist.c
+++ b/src/oplist.c
@@ -65,7 +65,9 @@ void plist_ostep_deinit(void)
void plist_ostep_set_debug(int debug)
{
+#if DEBUG
plist_ostep_debug = debug;
+#endif
}
#ifndef HAVE_STRNDUP