aboutsummaryrefslogtreecommitdiffstats
path: root/src/interface.c
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2007-03-20 21:08:19 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2007-03-20 21:08:19 +0000
commit49618d8abc4495a6757ae8e5c762e4fd204c7c86 (patch)
tree7381b37d437bb36827659cd16ff921adc18a0617 /src/interface.c
parentd80d1844410cee6ded2542bda1229da663a64d3d (diff)
downloadmpd-49618d8abc4495a6757ae8e5c762e4fd204c7c86.tar.gz
mpd-49618d8abc4495a6757ae8e5c762e4fd204c7c86.tar.xz
mpd-49618d8abc4495a6757ae8e5c762e4fd204c7c86.zip
Importing r5649 from trunk.
git-svn-id: https://svn.musicpd.org/mpd/branches/branch-0.12.1-fixes@5674 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/interface.c')
-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;