]> granicus.if.org Git - postgis/commitdiff
Re-fix connection password hiding (#356)
authorPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 4 Jan 2010 04:52:33 +0000 (04:52 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 4 Jan 2010 04:52:33 +0000 (04:52 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5095 b70326c6-7e19-0410-871a-916f4a2858ee

loader/shp2pgsql-gui.c

index c15a04c7f780b5050d1f9fb935115e4b84a119fd..45252c2bdcdede86db26690f1bfe554a5c4ae992 100644 (file)
@@ -507,7 +507,7 @@ pgui_action_connection_test(GtkWidget *widget, gpointer data)
        }
        
        connection_sanitized = strdup(connection_string);
-       pgui_sanitize_connection_string(connection_string);
+       pgui_sanitize_connection_string(connection_sanitized);
        pgui_logf("Connecting: %s", connection_sanitized);
        free(connection_sanitized);