fix for gcc4
This commit is contained in:
parent
12a81f194e
commit
2e4170685c
16
net/gmudix/patches/patch-src_process_c
Normal file
16
net/gmudix/patches/patch-src_process_c
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-src_process_c,v 1.1 2010/05/23 16:51:28 espie Exp $
|
||||
--- src/process.c.orig Sun May 23 18:48:50 2010
|
||||
+++ src/process.c Sun May 23 18:49:36 2010
|
||||
@@ -876,8 +876,10 @@ void process_rx_buffer(USER *user)
|
||||
}
|
||||
|
||||
/* re-set receive pointer */
|
||||
- MCCP_USER(user)? user->net.mccp_outp:
|
||||
- user->net.rxp = pMrk;
|
||||
+ if (MCCP_USER(user))
|
||||
+ user->net.mccp_outp = pMrk;
|
||||
+ else
|
||||
+ user->net.rxp = pMrk;
|
||||
break;
|
||||
}
|
||||
else if (retval == IAC_MCCP_START)
|
Loading…
Reference in New Issue
Block a user