client: Return the number of added array entries
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 19 Feb 2013 12:40:44 +0000 (14:40 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 21 Feb 2013 14:22:29 +0000 (16:22 +0200)
commit012cc5ddc7035851e0cc4411f2ea4fc47c551629
treecc307fd620a3d35c25201a54affbdc1426890464
parent6375d270075a0574d6b66e26ee5128d6fda8b7ba
client: Return the number of added array entries

Check that the array element is non-NULL, does not start with '--' indicating
a new option or that the array length is not exhausted. Return the number of
array elements added.
client/services.c