Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwife.git;a=commitdiff;h=ec08ed28a8b5fcd3f0bd87bcd14e7cc19b523fb6

commit ec08ed28a8b5fcd3f0bd87bcd14e7cc19b523fb6
Author: Elentir <elen...@mailoo.org>
Date:   Tue Jan 19 20:01:51 2010 +0100

configsource: fix warning

diff --git a/src/plugins/configsource.c b/src/plugins/configsource.c
index c04659b..6d26b26 100644
--- a/src/plugins/configsource.c
+++ b/src/plugins/configsource.c
@@ -1124,7 +1124,7 @@ int run_net_config(GList **config)
{
case GTK_RESPONSE_YES:
free(newprofile);
-                                       if(newprofile = 
fwnet_parseprofile(lastprof) != NULL) {
+                                       if((newprofile = 
fwnet_parseprofile(lastprof)) != NULL) {
sprintf(newprofile->name, "default");
data_put(config, "netprofile", newprofile);
free(ptr);
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to