Charles Plessy, le Sun 24 Mar 2013 18:48:49 +0900, a écrit : > debconf_get(client, "netcfg/disable_autoconfig"); > > if (!strcmp(client->value, "true")) > debconf_set(client, "netcfg/use_autoconfig", "false"); > else > debconf_set(client, "netcfg/use_autoconfig", "true"); > > To me, it seems that in plain English the above means:
Plain english doesn't work here: !strcmp(foo,bar) means "foo equal bar" (in other words, , !(foo-bar), i.e. foo-bar equal 0) Samuel -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

