Browse code

milter typoes

git-svn: trunk@4895

aCaB authored on 2009/03/05 00:44:34
Showing 3 changed files
... ...
@@ -1,3 +1,8 @@
1
+Wed Mar  4 15:20:47 CET 2009 (acab)
2
+-----------------------------------
3
+ * clamav-milter: fix few typoes - thx Jakub Jankowski <shasta*toxcorp.com>
4
+	and Peter Bonivart <bonivart*opencsw.org> for the testing
5
+
1 6
 Wed Mar  4 09:12:59 CET 2009 (tk)
2 7
 ---------------------------------
3 8
  * shared/cdiff.c: add missing gzclose() (bb#1450)
... ...
@@ -435,8 +435,9 @@ int init_actions(struct optstruct *opts) {
435 435
 		}
436 436
 		*dst = '\0';
437 437
 	    }
438
+	    break;
438 439
 	default:
439
-	    logg("!Invalid action %s for option OnInfected", opt->strarg);
440
+	    logg("!Invalid action %s for option OnInfected\n", opt->strarg);
440 441
 	    return 1;
441 442
 	}
442 443
     } else InfectedAction = action_quarantine;
... ...
@@ -50,6 +50,7 @@
50 50
 	strerror_r(errno, er, sizeof(er)); \
51 51
 	logg(msg": %s\n", er);
52 52
 #else
53
+#define strerror_print(msg) \
53 54
 	logg(msg"\n");
54 55
 #endif
55 56