projects
/
systembsd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replace C++ style comments
[systembsd.git]
/
src
/
interfaces
/
hostnamed
/
hostnamed.c
diff --git
a/src/interfaces/hostnamed/hostnamed.c
b/src/interfaces/hostnamed/hostnamed.c
index 522d750959eadf90b853d641b74c299b422232f4..9f152dfb22a781121c51091e4571e66cca8b3088 100644
(file)
--- a/
src/interfaces/hostnamed/hostnamed.c
+++ b/
src/interfaces/hostnamed/hostnamed.c
@@
-51,7
+51,7
@@
static void on_name_lost(GDBusConnection *conn,
hostnamed_mem_clean();
hostnamed_mem_clean();
- /
/TODO exit through g_main_loop properly...
+ /
* TODO exit through g_main_loop properly... */
}
/* safe call to try and start hostnamed */
}
/* safe call to try and start hostnamed */
@@
-81,7
+81,7
@@
GError *hostnamed_init() {
NULL,
NULL);
NULL,
NULL);
- /
/TODO: malloc and return reference as if a main() closed
+ /
* TODO: malloc and return reference as if a main() closed */
return err;
}
return err;
}
@@
-91,14
+91,12
@@
void hostnamed_mem_clean() {
g_ptr_array_foreach(hostnamed_freeable, (GFunc) g_free, NULL);
}
g_ptr_array_foreach(hostnamed_freeable, (GFunc) g_free, NULL);
}
-/
/TODO figure out DMI variables on obsd
+/
* TODO figure out DMI variables on obsd */
/*static gchar *guess_icon_name() {
gchar *filebuf = NULL;
gchar *ret = NULL;
/*static gchar *guess_icon_name() {
gchar *filebuf = NULL;
gchar *ret = NULL;
- //TODO vm check
-
#if defined(__i386__) || defined(__x86_64__)
Taken with a few minor changes from systemd's hostnamed.c,
#if defined(__i386__) || defined(__x86_64__)
Taken with a few minor changes from systemd's hostnamed.c,