cmd-thread.c revision 4b46722095713056ffaf6c26272692aef8f8f09e
/* Copyright (C) 2002 Timo Sirainen */
#include "common.h"
#include "buffer.h"
#include "commands.h"
#include "mail-search.h"
#include "mail-sort.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(client))
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 */
} else {
/* NOTE: syncing is allowed when returning UIDs */
else
} else {
}
}
return TRUE;
}