Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes: > +notmuch_status_t > +_notmuch_crypto_set_gpg_path (_notmuch_crypto_t *crypto, const char *gpg_path) > +{ [snip] > + if (! gpg_path && ! test_for_executable (gpg_path)) > + return NOTMUCH_STATUS_FILE_ERROR; this looks strange. Maybe the "!" in front of gpg_path might be spurious. Or maybe you mean || ? > - const char *gpgpath; > + char *gpg_path; > } _notmuch_crypto_t; Why is const dropped here? >