From db66ccaf555f3b209452f33d0c3238a1b6b7a4ed Mon Sep 17 00:00:00 2001 From: Martin Schirrmacher Date: Wed, 8 May 2013 19:59:43 +0200 Subject: many changes; svdrp commands; get & set profiles --- liblightpack/testclient.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'liblightpack') 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"); -- cgit v1.2.3