projects
/
connman
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
142d289
)
Store the service name for easy identification
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 15 May 2009 03:18:38 +0000
(20:18 -0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 15 May 2009 03:18:38 +0000
(20:18 -0700)
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index
4ce0ed3
..
05e0be8
100644
(file)
--- a/
src/service.c
+++ b/
src/service.c
@@
-1157,6
+1157,10
@@
static int service_save(struct connman_service *service)
g_free(data);
update:
+ if (service->name != NULL)
+ g_key_file_set_string(keyfile, service->identifier,
+ "Name", service->name);
+
switch (service->type) {
case CONNMAN_SERVICE_TYPE_UNKNOWN:
case CONNMAN_SERVICE_TYPE_ETHERNET: