- if (type != SEARCHTYPE_CHANNEL) {
- parseError = "size: this function is only valid for channel searches.";
- return NULL;
- }
-
- if (argc!=1) {
- parseError="size: usage: (size number)";
- return NULL;
- }
-
- if (!(localdata=(struct size_localdata *)malloc(sizeof(struct size_localdata)))) {
- parseError = "malloc: could not allocate memory for this search.";
- return NULL;
- }
-
- localdata->count = strtoul(argv[0],NULL,10);
-