summaryrefslogtreecommitdiff
path: root/sysutils/dptutil/patches/patch-ah
blob: 7f765f2c0b241d4261e2a2d99ab5cf0fb8e4aac5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ah,v 1.1 2003/01/27 23:39:03 ad Exp $

--- dpteng/engmsg.c.orig	Fri Dec 13 14:18:21 2002
+++ dpteng/engmsg.c	Fri Dec 13 14:18:40 2002
@@ -259,7 +259,7 @@
   /* Try To Get The Unique Message Que Of This ID */
 
 // need to get ENGINE's q - old code -> msqID = msgget(EngineMsgKey, ...
-   msqID = msgget(DPT_EngineKey, MSG_ALLRD | MSG_ALLWR);
+   msqID = msgget(DPT_EngineKey, MSG_URD | MSG_UWR);
 
   /* If There Is One Out There, Try To Send A Message To It */
 
@@ -374,7 +374,7 @@
 
   /* Try To Get The Unique Message Que Of This ID */
   /* (we need to look for the ENGINE's msq) */
-   msqID = msgget(DPT_EngineKey, MSG_ALLRD | MSG_ALLWR);
+   msqID = msgget(DPT_EngineKey, MSG_URD | MSG_UWR);
 
   /* If There Is One Out There, Try To Send A Message To It */