rem: msg->what = 'okok';
add: if (msg) msg->what = 'okok';
context: extern "C" _EXPORT BDataIO * init_transport(BMessage *msg){	if (msg == NULL)		return NULL;			if (g_transport)		return NULL;	const char* printer_name = msg->FindString("printer_file");		if (printer_name && *printer_name != '\0') {		BDirectory printer(printer_name);					if (printer.InitCheck() == B_OK) {			HPJetDirectPort * transport = new HPJetDirectPort(&printer, msg);			if (transport->Ready()) {				g_transport = transport;				msg->what = 'okok';				return g_transport;			};			delete transport;		};	};	return NULL;}