17 lines
574 B
Plaintext
17 lines
574 B
Plaintext
$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)
|