2859430ddd
doesn't tolerate such questionable programming pratice.
13 lines
451 B
Text
13 lines
451 B
Text
$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)) {
|