Skip to content
tool_operate.c 69.2 KiB
Newer Older
        config->current = config->first;
        /* Perform each operation */
        while(!result && config->current) {
          result = operate_do(config, config->current);
          config->current = config->current->next;

          if(config->current && config->current->easy)
            curl_easy_reset(config->current->easy);
#ifndef CURL_DISABLE_LIBCURL_OPTION
        if(config->libcurl) {
          /* Cleanup the libcurl source output */
          easysrc_cleanup();
          /* Dump the libcurl code if previously enabled */
          dumpeasysrc(config);
        }
      else
        helpf(config->errors, "out of memory\n");