summaryrefslogtreecommitdiff
path: root/liblightpack
diff options
context:
space:
mode:
Diffstat (limited to 'liblightpack')
-rw-r--r--liblightpack/testclient.c9
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");