Projects STRLCPY neomutt Commits ede132bb
🤬
  • ■ ■ ■ ■ ■ ■
    notmuch/db.c
    skipped 110 lines
    111 111   notmuch_database_t *db = NULL;
    112 112   int ct = 0;
    113 113   notmuch_status_t st = NOTMUCH_STATUS_SUCCESS;
    114  -#if LIBNOTMUCH_CHECK_VERSION(4, 2, 0)
    115 114   char *msg = NULL;
    116  -#endif
    117 115   
    118 116   const short c_nm_open_timeout = cs_subset_number(NeoMutt->sub, "nm_open_timeout");
    119 117   mutt_debug(LL_DEBUG1, "nm: db open '%s' %s (timeout %d)\n", filename,
    skipped 50 lines
    170 168   {
    171 169   if (!db)
    172 170   {
    173  -#if LIBNOTMUCH_CHECK_VERSION(4, 2, 0)
    174 171   if (msg)
    175 172   {
    176 173   mutt_error(msg);
    177  - FREE(&msg);
    178 174   }
    179 175   else
    180  -#endif
    181 176   {
    182 177   mutt_error(_("Can't open notmuch database: %s: %s"), filename,
    183 178   st ? notmuch_status_to_string(st) : _("unknown reason"));
    skipped 4 lines
    188 183   mutt_clear_error();
    189 184   }
    190 185   }
     186 + 
     187 + FREE(&msg);
    191 188   
    192 189   return db;
    193 190  }
    skipped 205 lines
Please wait...
Page is in error, reload to recover