diff options
author | Martin Schirrmacher <vdr.lightpack@schirrmacher.eu> | 2013-05-08 19:59:43 +0200 |
---|---|---|
committer | Martin Schirrmacher <vdr.lightpack@schirrmacher.eu> | 2013-05-08 19:59:43 +0200 |
commit | db66ccaf555f3b209452f33d0c3238a1b6b7a4ed (patch) | |
tree | 21a610f24e11203fd67164822e0c4cdf8e4e9a1f /liblightpack | |
parent | 5ab076d93a99e84dca20d685f30821ae61bcc762 (diff) | |
download | vdr-plugin-lightpack-db66ccaf555f3b209452f33d0c3238a1b6b7a4ed.tar.gz vdr-plugin-lightpack-db66ccaf555f3b209452f33d0c3238a1b6b7a4ed.tar.bz2 |
many changes; svdrp commands; get & set profiles
Diffstat (limited to 'liblightpack')
-rw-r--r-- | liblightpack/testclient.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/liblightpack/testclient.c b/liblightpack/testclient.c index 914c72e..76dd514 100644 --- a/liblightpack/testclient.c +++ b/liblightpack/testclient.c @@ -125,7 +125,16 @@ int main(void) if( profiles != NULL ) { printf("\tgetprofiles: %s\n", profiles); + printf("\tstart split\n"); + char *tok; + tok = strtok(profiles, ";"); + while( tok != NULL ) + { + printf("\tprofile: %s\n", tok); + tok = strtok(NULL, ";"); + } free(profiles); + printf("\tend split\n"); } else printf("\tgetprofiles error\n"); |