- Dec 31, 2014
-
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
Having files named endian.[c|h] seemed to cause issues under Linux so renamed them both to have the curl_ prefix in the filenames.
-
Julien Nabet authored
lib1900.c:182: (style) Array index 'handlenum' is used before limits check Bug: https://github.com/bagder/curl/pull/133
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
To allow the little endian functions, currently used in two of the NTLM source files, to be used by other modules such as the SMB module.
-
Steve Holme authored
-
Julien Nabet authored
-
- Dec 30, 2014
-
-
Steve Holme authored
Prefer void for unused parameters, rather than assigning an argument to itself as a) unintelligent compilers won't optimize it out, b) it can't be used for const parameters, c) it will cause compilation warnings for clang with -Wself-assign and d) is inconsistent with other areas of the curl source code.
-
Steve Holme authored
smb.c:586: warning: conversion to 'short unsigned int' from 'int' may alter its value
-
Bill Nagel authored
Use the connection's upload buffer instead of allocating our own send buffer.
-
Steve Holme authored
-
Steve Holme authored
Moved our Initialize Security Context return attribute definitions to the SSPI module, as a) these can be used by other SSPI based providers and b) the ISC required attributes are defined there.
-
- Dec 29, 2014
-
-
Bill Nagel authored
-
- Dec 28, 2014
-
-
Steve Holme authored
vtls.c:683:43: warning: unused parameter 'data'
-
Steve Holme authored
sockfilt.c:288: warning: conversion to 'DWORD' from 'size_t' may alter its value sockfilt.c:291: warning: conversion to 'DWORD' from 'size_t' may alter its value sockfilt.c:323: warning: conversion to 'DWORD' from 'size_t' may alter its value sockfilt.c:326: warning: conversion to 'DWORD' from 'size_t' may alter its value
-
Steve Holme authored
lib1509.c:93:18: warning: conversion to 'long int' from 'size_t' may alter its value
-
Steve Holme authored
lib556.c:90: warning: conversion to 'unsigned int' from 'size_t' may alter its value
-
Steve Holme authored
-
Steve Holme authored
curl_schannel.h:123: warning: right-hand operand of comma expression has no effect Some instances of the curlssl_close_all() function were declared with a void return type whilst others as int. The schannel version returned CURLE_NOT_BUILT_IN and others simply returned zero, but in all cases the return code was ignored by the calling function Curl_ssl_close_all(). For the time being and to keep the internal API consistent, changed all declarations to use a void return type. To reduce code we might want to consider removing the unimplemented versions and use a void #define like schannel does.
-
Daniel Stenberg authored
-
Steve Holme authored
* Missing initialisation of upload status caused a seg fault * Missing data termination caused corrupt data to be uploaded * Data verification should be performed in <upload> element * Added missing recipient list cleanup
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
- Dec 27, 2014
-
-
Steve Holme authored
-
Steve Holme authored
This frees up the 'result' variable for CURLcode based result codes.
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
...and don't use CURLE_OK in failure/success comparisons.
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
As this feature has been implemented for 7.40.0.
-
Steve Holme authored
...as calloc() automatically clears the area of memory with zeros.
-
Steve Holme authored
...with the exception of the start of block statement curly brackets.
-