summaryrefslogtreecommitdiff
path: root/chat/dircproxy-devel/patches/patch-ac
blob: 2798eed396787f8ebffc7fb81c7f72ac682e9542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ac,v 1.1 2005/07/30 21:18:33 rillig Exp $

Conditional lvalues aren't portable enough for IRIX 6.5.

--- src/irc_server.c.orig	Sat Aug 17 23:48:03 2002
+++ src/irc_server.c	Sat Jul 30 23:14:18 2005
@@ -699,7 +699,7 @@ static int _ircserver_gotmsg(struct ircp
               free(s);
 
               /* Was in the squelch list, so remove it and stop looking */
-              s = (l ? l->next : p->squelch_modes) = n;
+              s = *(l ? &(l->next) : &(p->squelch_modes)) = n;
               squelch = 1;
               break;
             } else {