system-settings: fix crasher (lp:411668)

This commit is contained in:
Alexander Sack 2009-08-12 17:15:59 -05:00 committed by Dan Williams
parent fc8661a24c
commit 2e849a0cb8

View file

@ -172,7 +172,7 @@ static void
find_by_path (gpointer key, gpointer data, gpointer user_data) find_by_path (gpointer key, gpointer data, gpointer user_data)
{ {
FindConnectionInfo *info = user_data; FindConnectionInfo *info = user_data;
NMSysconfigConnection *exported = NM_SYSCONFIG_CONNECTION (data); NMSysconfigConnection *exported = NM_SYSCONFIG_CONNECTION (key);
const char *path; const char *path;
if (!info->found) { if (!info->found) {