aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-07-30 11:52:58 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2013-07-30 11:52:58 +0200
commit982e87f2fb45bf8a951774b3c6dab7afb0dc89f8 (patch)
treef3c90eaa6dba03d209b9f05c799c3ded447cad22 /networking
parentbfa6ed1bf43ea607e33a6e89a0ef03f84a5b5d38 (diff)
downloadbusybox-w32-982e87f2fb45bf8a951774b3c6dab7afb0dc89f8.tar.gz
busybox-w32-982e87f2fb45bf8a951774b3c6dab7afb0dc89f8.tar.bz2
busybox-w32-982e87f2fb45bf8a951774b3c6dab7afb0dc89f8.zip
Whitespace fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/httpd.c4
-rw-r--r--networking/ntpd.c4
-rw-r--r--networking/tc.c2
-rw-r--r--networking/wget.c14
4 files changed, 12 insertions, 12 deletions
diff --git a/networking/httpd.c b/networking/httpd.c
index b46eb0fab..cef9b8baf 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -1709,8 +1709,8 @@ static int pam_talker(int num_msg,
1709 s = userinfo->pw; 1709 s = userinfo->pw;
1710 break; 1710 break;
1711 case PAM_ERROR_MSG: 1711 case PAM_ERROR_MSG:
1712 case PAM_TEXT_INFO: 1712 case PAM_TEXT_INFO:
1713 s = ""; 1713 s = "";
1714 break; 1714 break;
1715 default: 1715 default:
1716 free(response); 1716 free(response);
diff --git a/networking/ntpd.c b/networking/ntpd.c
index b04391eb5..99817e83b 100644
--- a/networking/ntpd.c
+++ b/networking/ntpd.c
@@ -228,8 +228,8 @@ typedef struct {
228 uint8_t lastpkt_status; 228 uint8_t lastpkt_status;
229 uint8_t lastpkt_stratum; 229 uint8_t lastpkt_stratum;
230 uint8_t reachable_bits; 230 uint8_t reachable_bits;
231 /* when to send new query (if p_fd == -1) 231 /* when to send new query (if p_fd == -1)
232 * or when receive times out (if p_fd >= 0): */ 232 * or when receive times out (if p_fd >= 0): */
233 double next_action_time; 233 double next_action_time;
234 double p_xmttime; 234 double p_xmttime;
235 double lastpkt_recv_time; 235 double lastpkt_recv_time;
diff --git a/networking/tc.c b/networking/tc.c
index f968707a9..b9a4d16cc 100644
--- a/networking/tc.c
+++ b/networking/tc.c
@@ -65,7 +65,7 @@ struct globals {
65} FIX_ALIASING; 65} FIX_ALIASING;
66#define G (*(struct globals*)&bb_common_bufsiz1) 66#define G (*(struct globals*)&bb_common_bufsiz1)
67struct BUG_G_too_big { 67struct BUG_G_too_big {
68 char BUG_G_too_big[sizeof(G) <= COMMON_BUFSIZE ? 1 : -1]; 68 char BUG_G_too_big[sizeof(G) <= COMMON_BUFSIZE ? 1 : -1];
69}; 69};
70#define filter_ifindex (G.filter_ifindex) 70#define filter_ifindex (G.filter_ifindex)
71#define filter_qdisc (G.filter_qdisc) 71#define filter_qdisc (G.filter_qdisc)
diff --git a/networking/wget.c b/networking/wget.c
index ce2f51411..5dac2b500 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -62,14 +62,14 @@ struct globals {
62 const char *curfile; /* Name of current file being transferred */ 62 const char *curfile; /* Name of current file being transferred */
63 bb_progress_t pmt; 63 bb_progress_t pmt;
64#endif 64#endif
65 char *dir_prefix; 65 char *dir_prefix;
66#if ENABLE_FEATURE_WGET_LONG_OPTIONS 66#if ENABLE_FEATURE_WGET_LONG_OPTIONS
67 char *post_data; 67 char *post_data;
68 char *extra_headers; 68 char *extra_headers;
69#endif 69#endif
70 char *fname_out; /* where to direct output (-O) */ 70 char *fname_out; /* where to direct output (-O) */
71 const char *proxy_flag; /* Use proxies if env vars are set */ 71 const char *proxy_flag; /* Use proxies if env vars are set */
72 const char *user_agent; /* "User-Agent" header field */ 72 const char *user_agent; /* "User-Agent" header field */
73#if ENABLE_FEATURE_WGET_TIMEOUT 73#if ENABLE_FEATURE_WGET_TIMEOUT
74 unsigned timeout_seconds; 74 unsigned timeout_seconds;
75#endif 75#endif
@@ -86,7 +86,7 @@ struct globals {
86} FIX_ALIASING; 86} FIX_ALIASING;
87#define G (*ptr_to_globals) 87#define G (*ptr_to_globals)
88#define INIT_G() do { \ 88#define INIT_G() do { \
89 SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \ 89 SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
90 IF_FEATURE_WGET_TIMEOUT(G.timeout_seconds = 900;) \ 90 IF_FEATURE_WGET_TIMEOUT(G.timeout_seconds = 900;) \
91} while (0) 91} while (0)
92 92