[PATCH] Fix typo: store password into service->password field

Daniel Wagner daniel.wagner at bmw-carit.de
Tue Apr 20 07:30:17 PDT 2010


---
 src/service.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/service.c b/src/service.c
index 9e1dc03..0997109 100644
--- a/src/service.c
+++ b/src/service.c
@@ -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,
-- 
1.6.6.1




More information about the connman mailing list