Commit a7748c20 authored by Gisle Vanem's avatar Gisle Vanem
Browse files

Constify argument to suburl(). Remove trailing space.

parent 8f87c15b
Loading
Loading
Loading
Loading
+14 −14
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ void lock(CURL *handle, curl_lock_data data, curl_lock_access access,
void unlock(CURL *handle, curl_lock_data data, void *useptr );
struct curl_slist *sethost(struct curl_slist *headers);
void *fire(void *ptr);
char *suburl(char *base, int i);
char *suburl(const char *base, int i);

/* struct containing data of a thread */
struct Tdata {
@@ -135,7 +135,7 @@ void *fire(void *ptr)


/* build request url */
char *suburl(char *base, int i)
char *suburl(const char *base, int i)
{
  return curl_maprintf("%s000%c", base, 48+i);
}