]> git.madduck.net Git - etc/mailfilter.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

no need to quote double quotes now
authormartin f. krafft <madduck@madduck.net>
Sun, 16 Sep 2007 10:01:10 +0000 (12:01 +0200)
committermartin f. krafft <madduck@madduck.net>
Sun, 16 Sep 2007 10:01:10 +0000 (12:01 +0200)
procmail/msgid-index

index cef647672f13fc8b720a69d10fffda1d86af0770..b7f210960ecdb5d45ce3108efde16324319379dc 100644 (file)
@@ -15,7 +15,7 @@ SQ="'\\''"
 SQE="'\\\''"
 FIELDS="$FROM$NL$ORIGINAL_TO$NL$SUBJECT$NL$MSGID"
 QUERY="insert into logfiles (sender, recipient, subject, msgid, filename) values (
-  `echo \"$FIELDS\" | sed -e 's,\\\",\\\\\",g; s,'\'','$SQE$SQE',g; s/^.*$/'\$SQE'&'\$SQE',/'`
+  `echo \"$FIELDS\" | sed -e 's,'\'','$SQE$SQE',g; s/^.*$/'\$SQE'&'\$SQE',/'`
   $SQ$THISLOGFILE_REL$SQ)"
 TRAP="$TRAP; $DO_QUERY '$QUERY'"