Fix typo: store password into service->password field
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Tue, 20 Apr 2010 14:30:17 +0000 (16:30 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 22 Apr 2010 05:05:56 +0000 (07:05 +0200)
src/service.c

index 9e1dc03..0997109 100644 (file)
@@ -2693,7 +2693,7 @@ static int service_load(struct connman_service *service)
                service->username = g_key_file_get_string(keyfile,
                                        service->identifier, "Username", NULL);
 
-               service->username = g_key_file_get_string(keyfile,
+               service->password = g_key_file_get_string(keyfile,
                                        service->identifier, "Password", NULL);
 
                service->favorite = g_key_file_get_boolean(keyfile,