Commit 4660da16 4660da16df09c73c19d0ae573654f18c78873923 by Sergey Poznyakoff

(imap4d_capability): call imap4d_auth_capability() to output AUTH= capabilities.

1 parent 9a508f59
...@@ -20,9 +20,6 @@ ...@@ -20,9 +20,6 @@
20 char *capa[] = { 20 char *capa[] = {
21 "IMAP4rev1", 21 "IMAP4rev1",
22 "NAMESPACE", 22 "NAMESPACE",
23 #ifdef WITH_GSSAPI
24 "AUTH=GSSAPI",
25 #endif
26 "X-VERSION", 23 "X-VERSION",
27 NULL 24 NULL
28 }; 25 };
...@@ -36,6 +33,7 @@ imap4d_capability (struct imap4d_command *command, char *arg) ...@@ -36,6 +33,7 @@ imap4d_capability (struct imap4d_command *command, char *arg)
36 util_send ("* CAPABILITY"); 33 util_send ("* CAPABILITY");
37 for (i = 0; capa[i]; i++) 34 for (i = 0; capa[i]; i++)
38 util_send(" %s", capa[i]); 35 util_send(" %s", capa[i]);
36 imap4d_auth_capability ();
39 util_send("\r\n"); 37 util_send("\r\n");
40 38
41 return util_finish (command, RESP_OK, "Completed"); 39 return util_finish (command, RESP_OK, "Completed");
......