Commit 1b99d33b authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

fix compiler warnings

parent 800052dc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -405,7 +405,7 @@ CURLcode Curl_GetFTPResponse(ssize_t *nreadp, /* return number of bytes read */
  return result;
}

static char *ftpauth[]= {
static const char *ftpauth[]= {
  "SSL", "TLS", NULL
};

+2 −0
Original line number Diff line number Diff line
@@ -1477,6 +1477,8 @@ CURLcode Curl_posttransfer(struct SessionHandle *data)
  /* restore the signal handler for SIGPIPE before we get back */
  if(!data->set.no_signal)
    signal(SIGPIPE, data->state.prev_signal);
#else
  (void)data; /* unused parameter */
#endif  

  return CURLE_OK;