diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-06-05 16:01:44 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-06-05 16:01:44 +0000 |
commit | a8a8aacdb360f1bcb4cdebf1a17fa7ea3a089277 (patch) | |
tree | 27dd29ba89c4879f818eda39dc1d3a6ad686eeb0 /src/command.c | |
parent | 69d787b3e14b818033da230e1d8497aa132ef4d6 (diff) | |
download | mpd-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 '')
-rw-r--r-- | src/command.c | 3 |
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++; } |