Ack.

Thanks,
Praveen

On 01-Apr-15 9:07 PM, Hans Nordeback wrote:
>   osaf/services/saf/amf/amfd/comptype.cc |  15 +++++++++++----
>   1 files changed, 11 insertions(+), 4 deletions(-)
>
>
> diff --git a/osaf/services/saf/amf/amfd/comptype.cc 
> b/osaf/services/saf/amf/amfd/comptype.cc
> --- a/osaf/services/saf/amf/amfd/comptype.cc
> +++ b/osaf/services/saf/amf/amfd/comptype.cc
> @@ -151,10 +151,17 @@ static AVD_COMP_TYPE *comptype_create(co
>    */
>   static inline void report_path_validation_err(CcbUtilOperationData_t 
> *opdata,
>                                                 const char *attr_name) {
> -     report_ccb_validation_error(opdata,
> -             "%s does not contain an absolute path and "
> -             "attribute saAmfCtSwBundle is not configured for '%s'",
> -             attr_name, opdata->objectName.value);
> +     if (opdata != NULL) {
> +             report_ccb_validation_error(opdata,
> +                     "%s does not contain an absolute path and "
> +                     "attribute saAmfCtSwBundle is not configured for '%s'",
> +                      attr_name, opdata->objectName.value);
> +     } else {
> +             report_ccb_validation_error(opdata,
> +                     "%s does not contain an absolute path and "
> +                     "attribute saAmfCtSwBundle is not configured",
> +                      attr_name);
> +     }
>   }
>
>   /**
>

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to