Skip to content
Snippets Groups Projects
Commit d31d974a authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Fixed type error.

Rev: lib/modules/Protocols.pmod/IMAP.pmod/requests.pmod:1.86
parent c4d4409d
No related branches found
No related tags found
No related merge requests found
/* IMAP.requests
*
* $Id: requests.pmod,v 1.85 1999/08/12 00:44:16 marcus fake $
* $Id: requests.pmod,v 1.86 1999/12/31 18:27:51 grubba Exp $
*/
import .types;
......@@ -92,11 +92,13 @@ class request
case "any":
/* A single atom or string or a list of atoms (with
* options), lists. Used for fetch. */
return parser->get_any(arg_info[argc][1], 0, 1, append_arg);
return parser->get_any(((array(array(string)))arg_info)[argc][1],
0, 1, append_arg);
case "varargs":
/* Like any, but with an implicit list at top-level */
return parser->get_varargs(arg_info[argc][1], 0, 0, append_arg);
return parser->get_varargs(((array(array(string)))arg_info)[argc][1],
0, 0, append_arg);
default:
throw( ({ sprintf("IMAP.requests: Unknown argument type %O\n",
......@@ -866,7 +868,7 @@ class search
return input[i]->atom ? string_to_number(input[i]->atom) : -1;
}
int get_set()
object get_set()
{
if (i == sizeof(input))
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment