cmd-thread.c revision eb10133e1b9d55fff6e9182aa17d8d7838a9ecee
/* Copyright (C) 2002 Timo Sirainen */
#include "common.h"
#include "buffer.h"
#include "commands.h"
#include "imap-search.h"
#include "imap-thread.h"
{
enum mail_thread_type threading;
struct mail_search_arg *sargs;
int args_count;
if (args_count == -2)
return FALSE;
if (args_count < 3) {
"Missing or invalid arguments.");
return TRUE;
}
if (!client_verify_open_mailbox(cmd))
return TRUE;
"Invalid thread algorithm argument.");
return TRUE;
}
"ORDEREDSUBJECT threading is currently not supported.");
return TRUE;
} else {
return TRUE;
}
args++;
/* charset */
"Invalid charset argument.");
return TRUE;
}
args++;
/* error in search arguments */
0, "OK Thread completed.");
} else {
}
return TRUE;
}