← Commit list

b8635e28b

Bernhard Reutner-Fischer
Bernhard Reutner-Fischer
2008-05-16
FAILED Duration: 24s

Subject

- very minor shrinkage odd that this saved 1byte. And there could be something wrong with ifcombine or the like since omitting the braces produces bigger code?

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/libiproute/ll_addr.c+1 -5
@@ -64,11 +64,7 @@ int ll_addr_a2n(unsigned char *lladdr, int len, char *arg)
*cp = 0;
cp++;
}
- if (sscanf(arg, "%x", &temp) != 1) {
- bb_error_msg("\"%s\" is invalid lladdr", arg);
- return -1;
- }
- if (temp < 0 || temp > 255) {
+ if (sscanf(arg, "%x", &temp) != 1 || (temp < 0 || temp > 255)) {
bb_error_msg("\"%s\" is invalid lladdr", arg);
return -1;
}