Line 0
Link Here
|
|
|
1 |
--- src/lmtp/lmtp_sasl_glue.c.orig Mon Apr 11 00:08:53 2005 |
2 |
+++ src/lmtp/lmtp_sasl_glue.c Mon Apr 11 00:09:03 2005 |
3 |
@@ -292,6 +292,14 @@ |
4 |
|
5 |
void lmtp_sasl_initialize(void) |
6 |
{ |
7 |
+ /* |
8 |
+ * Global callbacks. These have no per-session context. |
9 |
+ */ |
10 |
+ static sasl_callback_t callbacks[] = { |
11 |
+ {SASL_CB_LOG, &lmtp_sasl_log, 0}, |
12 |
+ {SASL_CB_LIST_END, 0, 0} |
13 |
+ }; |
14 |
+ |
15 |
#if SASL_VERSION_MAJOR >= 2 && (SASL_VERSION_MINOR >= 2 \ |
16 |
|| (SASL_VERSION_MINOR == 1 && SASL_VERSION_STEP >= 19)) |
17 |
int sasl_major; |
18 |
@@ -313,14 +321,6 @@ |
19 |
SASL_VERSION_MAJOR, SASL_VERSION_MINOR, SASL_VERSION_STEP, |
20 |
sasl_major, sasl_minor, sasl_step); |
21 |
#endif |
22 |
- |
23 |
- /* |
24 |
- * Global callbacks. These have no per-session context. |
25 |
- */ |
26 |
- static sasl_callback_t callbacks[] = { |
27 |
- {SASL_CB_LOG, &lmtp_sasl_log, 0}, |
28 |
- {SASL_CB_LIST_END, 0, 0} |
29 |
- }; |
30 |
|
31 |
/* |
32 |
* Sanity check. |