+ crs_val = crs[0]
You also want to check the length of crs. The provider should always
return an instance, but it's always good to have a check. If something
causes the provider not to return an instance and also not return a
failure, then you'd be accessing the array out of bounds.
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com