Correct valid pointer check when setting category factory
Correct valid pointer check when setting category factory

phamelin/orocos-log4cpp,phamelin/orocos-log4cpp,orocos-toolchain/log4cpp,phamelin/orocos-log4cpp,phamelin/orocos-log4cpp,orocos-toolchain/log4cpp