aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-06-05 16:01:44 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-06-05 16:01:44 +0000
commita8a8aacdb360f1bcb4cdebf1a17fa7ea3a089277 (patch)
tree27dd29ba89c4879f818eda39dc1d3a6ad686eeb0 /src/command.c
parent69d787b3e14b818033da230e1d8497aa132ef4d6 (diff)
downloadmpd-a8a8aacdb360f1bcb4cdebf1a17fa7ea3a089277.tar.gz
mpd-a8a8aacdb360f1bcb4cdebf1a17fa7ea3a089277.tar.xz
mpd-a8a8aacdb360f1bcb4cdebf1a17fa7ea3a089277.zip
implement list_OK/command_list_ok_begin
update COMMANDS git-svn-id: https://svn.musicpd.org/mpd/trunk@1344 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index d87b7786c..72742e993 100644
--- a/src/command.c
+++ b/src/command.c
@@ -786,7 +786,7 @@ int processCommandInternal(FILE * fp, unsigned int * permission,
}
int proccessListOfCommands(FILE * fp, int * permission, int * expired,
- List * list)
+ int listOK, List * list)
{
ListNode * node = list->firstNode;
ListNode * tempNode;
@@ -804,6 +804,7 @@ int proccessListOfCommands(FILE * fp, int * permission, int * expired,
deleteNodeFromList(list,node);
node = tempNode;
if(ret!=0 || (*expired)!=0) node = NULL;
+ else if(listOK) myfprintf(fp, "list_OK\n");
command_listNum++;
}