svn commit: trunk/busybox: libbb networking/libiproute
vda at busybox.net
vda at busybox.net
Sat Apr 19 19:05:13 UTC 2008
Author: vda
Date: 2008-04-19 12:05:12 -0700 (Sat, 19 Apr 2008)
New Revision: 21773
Log:
style fixes. no code changes
Modified:
trunk/busybox/libbb/xfuncs.c
trunk/busybox/networking/libiproute/iptunnel.c
Changeset:
Modified: trunk/busybox/libbb/xfuncs.c
===================================================================
--- trunk/busybox/libbb/xfuncs.c 2008-04-19 17:40:29 UTC (rev 21772)
+++ trunk/busybox/libbb/xfuncs.c 2008-04-19 19:05:12 UTC (rev 21773)
@@ -172,7 +172,7 @@
/* Convert signed integer to ascii, like utoa_to_buf() */
char *itoa_to_buf(int n, char *buf, unsigned buflen)
{
- if (buflen && n<0) {
+ if (buflen && n < 0) {
n = -n;
*buf++ = '-';
buflen--;
Modified: trunk/busybox/networking/libiproute/iptunnel.c
===================================================================
--- trunk/busybox/networking/libiproute/iptunnel.c 2008-04-19 17:40:29 UTC (rev 21772)
+++ trunk/busybox/networking/libiproute/iptunnel.c 2008-04-19 19:05:12 UTC (rev 21773)
@@ -191,7 +191,7 @@
if (strchr(*argv, '.'))
p->i_key = p->o_key = get_addr32(*argv);
else {
- if (get_unsigned(&uval, *argv, 0)<0) {
+ if (get_unsigned(&uval, *argv, 0) < 0) {
bb_error_msg_and_die("invalid value of \"key\"");
}
p->i_key = p->o_key = htonl(uval);
@@ -203,7 +203,7 @@
if (strchr(*argv, '.'))
p->o_key = get_addr32(*argv);
else {
- if (get_unsigned(&uval, *argv, 0)<0) {
+ if (get_unsigned(&uval, *argv, 0) < 0) {
bb_error_msg_and_die("invalid value of \"ikey\"");
}
p->i_key = htonl(uval);
@@ -215,7 +215,7 @@
if (strchr(*argv, '.'))
p->o_key = get_addr32(*argv);
else {
- if (get_unsigned(&uval, *argv, 0)<0) {
+ if (get_unsigned(&uval, *argv, 0) < 0) {
bb_error_msg_and_die("invalid value of \"okey\"");
}
p->o_key = htonl(uval);
More information about the busybox-cvs
mailing list