$NetBSD: patch-am,v 1.1 2006/05/22 16:39:00 drochner Exp $ --- kphone/kphone.cpp.orig 2006-05-21 20:05:49.000000000 +0200 +++ kphone/kphone.cpp @@ -1,5 +1,8 @@ #include #include +#include +#include + #include #include #include @@ -32,6 +35,8 @@ KPhone::KPhone( unsigned int listenport, userPrefix = "_" + prefix + "_"; } QSettings settings; + + umask(077); Sip::setLocalAddress( settings.readEntry( "/kphone/dissipate_addr", Sip::getLocalAddress() ) ); QString socketStr = settings.readEntry( "/kphone/General/SocketMode", "UDP" );