Fossil

Check-in [c0c3e17498]
Login

Check-in [c0c3e17498]

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

Overview
Comment:Fix a compiler warning on windows.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: c0c3e1749841704cdd8c2a061d5198d1544afe6d
User & Date: drh 2015-02-20 16:03:42.469
Context
2015-02-21
14:57
Change the title of the homepage from "Fossil" to "Home". ... (check-in: 806193b090 user: drh tags: trunk)
2015-02-20
16:03
Fix a compiler warning on windows. ... (check-in: c0c3e17498 user: drh tags: trunk)
15:57
Get the repolist mechanism working on windows. Make sure repolist is disabled (except for the "ui" command) without the --repolist option. ... (check-in: d976b474e9 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/main.c.
2404
2405
2406
2407
2408
2409
2410

2411
2412
2413
2414
2415
2416
2417
    cgi_handle_scgi_request();
  }else{
    cgi_handle_http_request(0);
  }
  process_one_web_page(zNotFound, glob_create(zFileGlob), allowRepoList);
#else
  /* Win32 implementation */

  if( isUiCmd ){
    zBrowser = db_get("web-browser", "start");
    if( zIpAddr ){
      zBrowserCmd = mprintf("%s http://%s:%%d/ &", zBrowser, zIpAddr);
    }else{
      zBrowserCmd = mprintf("%s http://localhost:%%d/ &", zBrowser);
    }







>







2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
    cgi_handle_scgi_request();
  }else{
    cgi_handle_http_request(0);
  }
  process_one_web_page(zNotFound, glob_create(zFileGlob), allowRepoList);
#else
  /* Win32 implementation */
  (void)allowRepoList;  /* Suppress warning */
  if( isUiCmd ){
    zBrowser = db_get("web-browser", "start");
    if( zIpAddr ){
      zBrowserCmd = mprintf("%s http://%s:%%d/ &", zBrowser, zIpAddr);
    }else{
      zBrowserCmd = mprintf("%s http://localhost:%%d/ &", zBrowser);
    }