diff options
Diffstat (limited to 'networking/tcpudp.c')
-rw-r--r-- | networking/tcpudp.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/networking/tcpudp.c b/networking/tcpudp.c index 07a87b8ed..561d1324c 100644 --- a/networking/tcpudp.c +++ b/networking/tcpudp.c | |||
@@ -59,11 +59,10 @@ struct globals { | |||
59 | #define cmax (G.cmax ) | 59 | #define cmax (G.cmax ) |
60 | #define env_cur (G.env_cur ) | 60 | #define env_cur (G.env_cur ) |
61 | #define env_var (G.env_var ) | 61 | #define env_var (G.env_var ) |
62 | #define INIT_G() \ | 62 | #define INIT_G() do { \ |
63 | do { \ | 63 | cmax = 30; \ |
64 | cmax = 30; \ | 64 | env_cur = &env_var[0]; \ |
65 | env_cur = &env_var[0]; \ | 65 | } while (0) |
66 | } while (0) | ||
67 | 66 | ||
68 | 67 | ||
69 | /* We have to be careful about leaking memory in repeated setenv's */ | 68 | /* We have to be careful about leaking memory in repeated setenv's */ |