/ Check-in [389dc0a9]
Login

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

Overview
Comment:Fix typo in the shell.c source file.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 389dc0a901b0ce54c3c773d63e5b288f6dd28b96dffc4b77861db89b275b57d6
User & Date: mistachkin 2018-05-14 12:23:04
Context
2018-05-14
15:26
Convert the schema creation logic in the rtree extension to use the new sqlite3_str interface. check-in: fd8b8c41 user: drh tags: trunk
12:23
Fix typo in the shell.c source file. check-in: 389dc0a9 user: mistachkin tags: trunk
00:41
Export the deduceDatabaseType() function the shell.c source file. check-in: d0f35739 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/shell.c.in.

  3557   3557     }else{
  3558   3558       fseek(f, -22, SEEK_END);
  3559   3559       n = fread(zBuf, 22, 1, f);
  3560   3560       if( n==1 && zBuf[0]==0x50 && zBuf[1]==0x4b && zBuf[2]==0x05
  3561   3561          && zBuf[3]==0x06 ){
  3562   3562         rc = SHELL_OPEN_ZIPFILE;
  3563   3563       }else if( n==0 && dfltZip && sqlite3_strlike("%.zip",zName,0)==0 ){
  3564         -      return SHELL_OPEN_ZIPFILE;
         3564  +      rc = SHELL_OPEN_ZIPFILE;
  3565   3565       }
  3566   3566     }
  3567   3567     fclose(f);
  3568   3568     return rc;  
  3569   3569   }
  3570   3570   
  3571   3571   /*