mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-20 19:44:56 +02:00
extensions: split assignments and if-exprs
This commit is contained in:
@@ -30,8 +30,8 @@ int main(int argc, char **argv)
|
||||
struct xt_pknock_nl_msg *pknock_msg;
|
||||
|
||||
if (argc > 2) {
|
||||
char *prog;
|
||||
if (!(prog = strdup(argv[0]))) {
|
||||
char *prog = strdup(argv[0]);
|
||||
if (prog == NULL) {
|
||||
perror("strdup()");
|
||||
} else {
|
||||
fprintf(stderr, "%s [ group-id ]\n", basename(prog));
|
||||
|
Reference in New Issue
Block a user