os_maild 

fixing compiler warnings and some 	prophylactic stuff
fixing also CID 28446