[Frugalware-darcs] fw-control-center: gnetconfig: fix a bug in cb_gn_interface_delete()

Priyank priyank at frugalware.org
Thu Jun 28 20:59:45 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=fw-control-center;a=darcs_commitdiff;h=20070628185759-5ce2c-ddaf57d30efa532838e582362b33e3e82135234a.gz;

[gnetconfig: fix a bug in cb_gn_interface_delete()
Priyank <priyank at frugalware.org>**20070628185759
 * Don't allow active interfaces to be deleted.
] {
hunk ./gnetconfig/src/gnetconfig-interface.c 937
-	if ((strcmp(active_profile->name, profile)) && !fwutil_system(ptr))
+	if (!(strcmp(active_profile->name, profile)) && !fwutil_system(ptr))
}


More information about the Frugalware-darcs mailing list