Documentation Source Text

Check-in [67ea9276f4]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a typo in an error message for althttpd.c.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 67ea9276f478b22bd3275387e649d54fd1bfac33
User & Date: drh 2011-03-29 16:02:03
Context
2011-03-30
19:11
Fix an broken link in the compile.in document. check-in: 21e4585531 user: drh tags: trunk
2011-03-29
16:02
Fix a typo in an error message for althttpd.c. check-in: 67ea9276f4 user: drh tags: trunk
2011-03-28
16:44
Add basic authentication capabilities to althttpd.c check-in: 458e5b55bf user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to misc/althttpd.c.

354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
static void NotFound(int lineno){
  StartResponse("404 Not Found");
  nOut += printf(
    "Content-type: text/html\r\n"
    "\r\n"
    "<head><title lineno=\"%d\">Not Found</title></head>\n"
    "<body><h1>Document Not Found</h1>\n"
    "The document %s is not avaivable on this server\n"
    "</body>\n", lineno, zScript);
  MakeLogEntry(0);
  exit(0);
}

/*
** Tell the client that authorization is required to access the







|







354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
static void NotFound(int lineno){
  StartResponse("404 Not Found");
  nOut += printf(
    "Content-type: text/html\r\n"
    "\r\n"
    "<head><title lineno=\"%d\">Not Found</title></head>\n"
    "<body><h1>Document Not Found</h1>\n"
    "The document %s is not available on this server\n"
    "</body>\n", lineno, zScript);
  MakeLogEntry(0);
  exit(0);
}

/*
** Tell the client that authorization is required to access the