Check-in [02eabf94e5]
Not logged in
Overview

SHA1 Hash:02eabf94e5b727592fcc44698fdd69cab1aee09d
Date: 2008-10-17 00:21:21
User: drh
Comment:Fix a minor problem in the previous check-in.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/allrepo.c from [044b203277] to [d823b159bc].

@@ -130,14 +130,14 @@
     db_begin_transaction();
     db_reset(&q);
     while( db_step(&q)==SQLITE_ROW ){
       const char *zFilename = db_column_text(&q, 0);
       if( access(zFilename, 0) ){
-        const char *zRepo = mprintf("repo:%s", zFilename);
+        char *zRepo = mprintf("repo:%s", zFilename);
         db_unset(zRepo, 1);
         free(zRepo);
       }
     }
     db_finalize(&q);
     db_end_transaction(0);
   }
 }