* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-
#include "sysdep.h"
#include <stdlib.h>
#include <unistd.h>
#include "imap_fetch.h"
#include "imap_misc.h"
#include "genstamp.h"
-
-
#include "ctdl_module.h"
+
/*
* Implements the SETACL command.
*/
*/
if ( (ra & UA_KNOWN) /* known rooms */
|| ((ra & UA_GOTOALLOWED) && (ra & UA_ZAPPED)) /* zapped rooms */
- ) {
+ ) {
strcat(rights, "l");
strcat(rights, "r");
strcat(rights, "s");
* commands are not yet implemented, omitting the flag should
* theoretically prevent compliant clients from attempting to
* perform them.
+ *
+ * strcat(rights, "a");
*/
- /* strcat(rights, "a"); * commented out */
}
}
}
*/
ret = imap_grabroom(roomname, parms[2], 1);
if (ret != 0) {
- cprintf("%s NO Invalid mailbox name or access denied\r\n",
- parms[0]);
+ cprintf("%s NO Invalid mailbox name or access denied\r\n", parms[0]);
return;
}
*/
ret = imap_grabroom(roomname, parms[2], 1);
if (ret != 0) {
- cprintf("%s NO Invalid mailbox name or access denied\r\n",
- parms[0]);
+ cprintf("%s NO Invalid mailbox name or access denied\r\n", parms[0]);
return;
}
free_recipients(valid);
}
if (ret != 0) {
- cprintf("%s NO Invalid user name or access denied\r\n",
- parms[0]);
+ cprintf("%s NO Invalid user name or access denied\r\n", parms[0]);
return;
}
}
CtdlUserGoto(roomname, 0, 0, &msgs, &new);
-
/*
* Now output the list of rights
*/
imap_strout(""); /* FIXME ... do something here */
cprintf("\r\n");
-
/*
* If another folder is selected, go back to that room so we can resume
* our happy day without violent explosions.
ret = imap_grabroom(roomname, parms[2], 1);
if (ret != 0) {
- cprintf("%s NO Invalid mailbox name or access denied\r\n",
- parms[0]);
+ cprintf("%s NO Invalid mailbox name or access denied\r\n", parms[0]);
return;
}
cprintf("%s OK MYRIGHTS completed\r\n", parms[0]);
return;
}
-
-