blob: e992a42b16071b8989bc2924cc5f2577244d2175 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-af,v 1.1 2006/06/30 15:53:18 tron Exp $
--- src/net.c.orig 2006-02-18 22:39:32.000000000 +0000
+++ src/net.c 2006-06-30 16:50:54.000000000 +0100
@@ -459,7 +459,7 @@
return 0;
}
- l = &(buff == SB_IN ? s->in_buff_last : s->out_buff_last);
+ l = (buff == SB_IN) ? &s->in_buff_last : &s->out_buff_last;
/* Check whether we can just add to the existing buffer */
if ((mode == SM_RAW) && *l && ((*l)->mode == mode)) {
|