projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a797eb3
)
Don't store empty passphrases
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 17 Jul 2009 11:53:54 +0000
(13:53 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 17 Jul 2009 11:53:54 +0000
(13:53 +0200)
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index
33d942d
..
8443247
100644
(file)
--- a/
src/service.c
+++ b/
src/service.c
@@
-1959,7
+1959,7
@@
update:
g_free(str);
}
- if (service->passphrase != NULL)
+ if (service->passphrase != NULL
&& strlen(service->passphrase) > 0
)
g_key_file_set_string(keyfile, service->identifier,
"Passphrase", service->passphrase);
else