summaryrefslogtreecommitdiff
path: root/dpi/bookmarks.c
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2009-11-01 16:31:59 -0300
committerJorge Arellano Cid <jcid@dillo.org>2009-11-01 16:31:59 -0300
commitf22fea661d0755029173a21fa72f7c131ee884e7 (patch)
tree48a0f4ae5bf1225709a4571a134a5900964fd354 /dpi/bookmarks.c
parente909b151a01c444a1630dc524249190d333620b2 (diff)
Introduce basic shared-secret-based authentication
Diffstat (limited to 'dpi/bookmarks.c')
-rw-r--r--dpi/bookmarks.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/dpi/bookmarks.c b/dpi/bookmarks.c
index 648b5f82..66d8a23e 100644
--- a/dpi/bookmarks.c
+++ b/dpi/bookmarks.c
@@ -1653,7 +1653,8 @@ static int Bmsrv_parse_buf(SockHandler *sh, char *Buf)
if (st != 0) {
char *err =
DOCTYPE
- "<HTML><body id='dillo_bm'> Error on the bookmarks server...</body></html>";
+ "<HTML><body id='dillo_bm'> Error on the bookmarks server..."
+ " </body></html>";
if (sock_handler_write_str(sh, 1, err) != 0) {
return 1;
}
@@ -1686,7 +1687,7 @@ static void termination_handler(int signum)
/*
* -- MAIN -------------------------------------------------------------------
*/
-int main (void) {
+int main(void) {
struct sockaddr_un spun;
int temp_sock_descriptor;
socklen_t address_size;