23 lines
638 B
Plaintext
23 lines
638 B
Plaintext
$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 <stdio.h>
|
|
#include <stdlib.h>
|
|
+#include <sys/types.h>
|
|
+#include <sys/stat.h>
|
|
+
|
|
#include <qtimer.h>
|
|
#include <qsettings.h>
|
|
#include <qmenubar.h>
|
|
@@ -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" );
|