tests: make the authorization retry tests pass the torture tests
This commit is contained in:
		@@ -35,8 +35,7 @@ static CURLcode send_request(CURL *curl, const char *url, int seq,
 | 
				
			|||||||
  char* full_url = malloc(strlen(url) + 4 + 1);
 | 
					  char* full_url = malloc(strlen(url) + 4 + 1);
 | 
				
			||||||
  if (!full_url) {
 | 
					  if (!full_url) {
 | 
				
			||||||
    fprintf(stderr, "Not enough memory for full url\n");
 | 
					    fprintf(stderr, "Not enough memory for full url\n");
 | 
				
			||||||
    res = CURLE_OUT_OF_MEMORY;
 | 
					    return CURLE_OUT_OF_MEMORY;
 | 
				
			||||||
    goto test_cleanup;
 | 
					 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  sprintf(full_url, "%s%04d", url, seq);
 | 
					  sprintf(full_url, "%s%04d", url, seq);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user