aboutsummaryrefslogtreecommitdiff
path: root/dpi
diff options
context:
space:
mode:
Diffstat (limited to 'dpi')
-rw-r--r--dpi/bookmarks.c4
-rw-r--r--dpi/cookies.c4
-rw-r--r--dpi/datauri.c2
-rw-r--r--dpi/file.c4
4 files changed, 7 insertions, 7 deletions
diff --git a/dpi/bookmarks.c b/dpi/bookmarks.c
index 36615496..e5447331 100644
--- a/dpi/bookmarks.c
+++ b/dpi/bookmarks.c
@@ -12,7 +12,7 @@
*
*/
-/* Todo: this server is not assembling the received packets.
+/* TODO: this server is not assembling the received packets.
* This means it currently expects dillo to send full dpi tags
* within the socket; if that fails, everything stops.
* This is not hard to fix, mainly is a matter of expecting the
@@ -1314,7 +1314,7 @@ static int Bmsrv_modify_add_url(SockHandler *sh, char *s_url)
dFree(url);
section = 0;
- /* todo: we should send an "Bookmark added" message, but the
+ /* TODO: we should send an "Bookmark added" message, but the
msg-after-HTML functionallity is still pending, not hard though. */
/* Write new bookmarks file */
diff --git a/dpi/cookies.c b/dpi/cookies.c
index 6cf3b4fc..fc52a4ef 100644
--- a/dpi/cookies.c
+++ b/dpi/cookies.c
@@ -23,7 +23,7 @@
* add comments, remove leaks, etc.
*/
-/* Todo: this server is not assembling the received packets.
+/* TODO: this server is not assembling the received packets.
* This means it currently expects dillo to send full dpi tags
* within the socket; if that fails, everything stops.
*/
@@ -533,7 +533,7 @@ static time_t Cookies_create_timestamp(const char *expires)
day = strtol(cp + 2, NULL, 10);
month = Cookies_get_month(cp + 5);
year = strtol(cp + 9, &cp, 10);
- /* todo: tricky, because two digits for year IS ambiguous! */
+ /* TODO: tricky, because two digits for year IS ambiguous! */
year += (year < 70) ? 2000 : ((year < 100) ? 1900 : 0);
hour = strtol(cp + 1, NULL, 10);
minutes = strtol(cp + 4, NULL, 10);
diff --git a/dpi/datauri.c b/dpi/datauri.c
index 1a34482b..5f3c79a7 100644
--- a/dpi/datauri.c
+++ b/dpi/datauri.c
@@ -200,7 +200,7 @@ static void send_failure_message(const char *url, const char *mime_type,
/*
* Get mime type from the data URI.
- * todo: there's no point in handling "charset" because current dillo
+ * TODO: there's no point in handling "charset" because current dillo
* only handles ISO-LATIN-1. The FLTK2 version (utf-8) could use it in the
* future.
*/
diff --git a/dpi/file.c b/dpi/file.c
index d7612f64..7bc1f0b1 100644
--- a/dpi/file.c
+++ b/dpi/file.c
@@ -648,7 +648,7 @@ static int File_get_file(ClientInfo *Client,
}
} while (st > 0);
- /* todo: It may be better to send an error report to dillo instead of
+ /* TODO: It may be better to send an error report to dillo instead of
* calling exit() */
if (st == -1) {
MSG("ERROR while reading from file \"%s\", error was \"%s\"\n",
@@ -977,7 +977,7 @@ int main(void)
}
}
- /* todo: handle a running thread better. */
+ /* TODO: handle a running thread better. */
for (i = 0; i < 5 && ThreadRunning; ++i) {
MSG("sleep i=%u", i);
sleep(i);