Ticket #24880: reg_entry_activate.diff

File reg_entry_activate.diff, 710 bytes (added by jmroot (Joshua Root), 15 years ago)
  • src/cregistry/entry.c

     
    10601060                == SQLITE_OK)
    10611061                && (sqlite3_bind_int64(update, 3, entry->id) == SQLITE_OK)) {
    10621062            for (i=0; i<file_count && result; i++) {
    1063                 if ((sqlite3_bind_text(select, 1, files[i], -1, SQLITE_STATIC)
     1063                if ((sqlite3_bind_text(select, 1, as_files[i], -1, SQLITE_STATIC)
    10641064                            == SQLITE_OK)
    10651065                        && (sqlite3_bind_text(update, 1, as_files[i], -1,
    10661066                                SQLITE_STATIC) == SQLITE_OK)