aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/interface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interface.c b/src/interface.c
index 4220935ed..4f24ca6fb 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -394,6 +394,7 @@ static int processBytesRead(Interface * interface, int bytesRead)
return 1;
}
if (interface->cmd_list_OK >= 0 &&
+ interface->cmd_list &&
!interface->cmd_list_dup)
cmd_list_clone(interface);
interface->bufferLength -= interface->bufferPos;