[telepathy-stream-engine/master] Only call setrlimit if STREAM_ENGINE_REALTIME is defined
Olivier Crête
olivier.crete at collabora.co.uk
Wed Apr 1 15:39:07 PDT 2009
---
src/stream-engine-main.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/stream-engine-main.c b/src/stream-engine-main.c
index 5bcaa80..da27fbd 100644
--- a/src/stream-engine-main.c
+++ b/src/stream-engine-main.c
@@ -218,6 +218,7 @@ int main(int argc, char **argv)
{
#ifdef USE_REALTIME
+ if (getenv("STREAM_ENGINE_REALTIME"))
{
uid_t uid;
struct rlimit rl;
--
1.5.6.5
More information about the telepathy-commits
mailing list