summaryrefslogtreecommitdiff
path: root/dpid
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-09-30 16:32:41 +0200
committerjcid <devnull@localhost>2008-09-30 16:32:41 +0200
commit0f7c6294d403e3ed80961e91f906f118e0f0adc5 (patch)
tree151cb6cc9f333a51ba15fb66ac4480bb4da0e0fa /dpid
parent6deac7761c79417469c515268ba010a5f1fd60fb (diff)
- s/todo:/TODO:/g
Diffstat (limited to 'dpid')
-rw-r--r--dpid/dpid.c2
-rw-r--r--dpid/dpid.h2
-rw-r--r--dpid/main.c6
3 files changed, 5 insertions, 5 deletions
diff --git a/dpid/dpid.c b/dpid/dpid.c
index 2bc4dd23..97e6414d 100644
--- a/dpid/dpid.c
+++ b/dpid/dpid.c
@@ -409,7 +409,7 @@ int register_all(struct dp **attlist)
dFree(sys_dpidir);
dFree(user_dpidir);
- /* todo: do we consider snum == 0 an error?
+ /* TODO: do we consider snum == 0 an error?
* (if so, we should return -1 ) */
return (snum);
}
diff --git a/dpid/dpid.h b/dpid/dpid.h
index 0a80dfdc..74686087 100644
--- a/dpid/dpid.h
+++ b/dpid/dpid.h
@@ -26,7 +26,7 @@
#define PATH_LEN 50
#define CMDLEN 20
#define MSGLEN 50
-/*! \todo: Should read this from dillorc */
+/*! \TODO: Should read this from dillorc */
#define SRS_NAME "dpid.srs"
char *srs_name;
diff --git a/dpid/main.c b/dpid/main.c
index aad1af90..b47ca627 100644
--- a/dpid/main.c
+++ b/dpid/main.c
@@ -230,12 +230,12 @@ int main(void)
dpi_attr_list = NULL;
services_list = NULL;
//daemon(0,0); /* Use 0,1 for feedback */
- /* todo: call setsid() ?? */
+ /* TODO: call setsid() ?? */
/* Allow read and write access, but only for the user.
- * todo: can this cause trouble with umount? */
+ * TODO: can this cause trouble with umount? */
umask(0077);
- /* todo: make dpid work on any directory. */
+ /* TODO: make dpid work on any directory. */
// chdir("/");
/* close inherited file descriptors */