/* 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--;
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);
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);
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);