commit | 0e9af557001a5c0b8184135d439ce2b532b8e79a | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <tfournier@exceliance.fr> | Sat Dec 14 14:55:04 2013 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Mar 17 18:06:07 2014 +0100 |
tree | 47157742d0f26ae1b6f25644a92e5d77f6cfd219 | |
parent | e1bcac5b8ff9385e9b094d765d7dd943a75c181a [diff] [blame] |
MINOR: sample: dont call the sample cast function "c_none" If the cast function to execute is c_none, dont execute it and return true. The function c_none, do nothing. This save a call.
diff --git a/src/sample.c b/src/sample.c index f57811e..7568d27 100644 --- a/src/sample.c +++ b/src/sample.c
@@ -559,7 +559,7 @@ } -static int c_none(struct sample *smp) +int c_none(struct sample *smp) { return 1; }