Check-in [32c06fd65b]
Not logged in
Overview

SHA1 Hash:32c06fd65b8711886923b1915418c1e232cf8248
Date: 2008-05-15 22:11:47
User: stephan
Comment:fixed a used-the-wrong-var bug from that last commit
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/wiki.c from [efba03523b] to [97d9b1ab7c].

@@ -81,11 +81,11 @@
 void home_page(void){
   char *zHomePage;        /* name of home page */
   char *zProjName;        /* name of project */
   zProjName = db_get("project-name",0);
   zHomePage = db_get("project-home", zProjName );
-  if( zProjName && zHomePage[0] ){
+  if( zProjName && zProjName[0] ){
     /* beware: this code causes cyclic redirects on a 404 because
        not_found is directed here.
      */
     int lenP;             /* strncmp() bounder */
     int lenH;             /* length of zProjName */