Make is_shell_char static. Closes #2907.
authorBrendan Cully <brendan@kublai.com>
Mon, 16 Jul 2007 17:46:49 +0000 (10:46 -0700)
committerBrendan Cully <brendan@kublai.com>
Mon, 16 Jul 2007 17:46:49 +0000 (10:46 -0700)
ChangeLog
enter.c

index e53034c840879947e52a4c439749f77c48eaf06b..6daccb34cdb0ef23b4fd2c22574974d2d0b63d99 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,17 @@
+2007-07-16 09:44 -0700  Brendan Cully  <brendan@kublai.com>  (1d6b9fb4a927)
+
+       * init.c: Check that spam expression has enough matches for its
+       template. Closes #2927.
+
+2007-07-14 17:26 -0700  Brendan Cully  <brendan@kublai.com>  (f4b2c6eba5fd)
+
+       * crypt-gpgme.c: GPGME: do not attempt to extract signatures
+       unless gpgme_op_verify returned success.
+
 2007-07-09 11:32 -0400  Aron Griffis  <agriffis@n01se.net>  (4e8e3db418ea)
 
        * send.c: Allow send-hooks to effectively change $from and $use_from
 
-2007-07-09 09:45 -0400  Aron Griffis  <agriffis@n01se.net>  (82354e0d2399)
-
        * mx.c: Clean up mx.c: init stat structs to zero
 
        prev_sb.st_size was initialized to zero if USE_FCNTL but not if
diff --git a/enter.c b/enter.c
index 0a1470ca229994086bb1a41a4db5b4fd20a8d45f..7eef008a3077568bc83e260dd871cc7431081cab 100644 (file)
--- a/enter.c
+++ b/enter.c
@@ -189,7 +189,7 @@ static void replace_part (ENTER_STATE *state, size_t from, char *buf)
 /*
  * Return 1 if the character is not typically part of a pathname
  */
-inline int is_shell_char(wchar_t ch)
+static inline int is_shell_char(wchar_t ch)
 {
   static wchar_t shell_chars[] = L"<>&()$?*;{}| "; /* ! not included because it can be part of a pathname in Mutt */
   return wcschr(shell_chars, ch) != NULL;