Skip to content
  1. Nov 30, 2014
    • Steve Holme's avatar
      libcurl: Exclude SMB from the protocol redirect · ce2d84b3
      Steve Holme authored
      As local files could be accessed through \\localhost\c$.
      ce2d84b3
    • Bill Nagel's avatar
      libcurl: Enable support for the SMB protocol · 6f241934
      Bill Nagel authored
      This patch enables SMB/CIFS support in libcurl.
      6f241934
    • Steve Holme's avatar
      smb.c: Fixed compilation warnings · d95cb3ed
      Steve Holme authored
      smb.c:322: warning: conversion to 'short unsigned int' from 'unsigned
                 int' may alter its value
      smb.c:323: warning: conversion to 'short unsigned int' from 'unsigned
                 int' may alter its value
      smb.c:482: warning: conversion to 'short unsigned int' from 'int' may
                 alter its value
      smb.c:521: warning: conversion to 'unsigned int' from 'curl_off_t' may
                 alter its value
      smb.c:549: warning: conversion to 'unsigned int' from 'curl_off_t' may
                 alter its value
      smb.c:550: warning: conversion to 'short unsigned int' from 'int' may
                 alter its value
      d95cb3ed
    • Steve Holme's avatar
      smb.c: Renamed SMB command message variables to avoid compiler warnings · 99c2bad2
      Steve Holme authored
      smb.c:489: warning: declaration of 'close' shadows a global declaration
      smb.c:511: warning: declaration of 'read' shadows a global declaration
      smb.c:528: warning: declaration of 'write' shadows a global declaration
      99c2bad2
    • Steve Holme's avatar
      smb.c: Fixed compilation warnings · 069f63c8
      Steve Holme authored
      smb.c:212: warning: unused parameter 'done'
      smb.c:380: warning: ISO C does not allow extra ';' outside of a function
      smb.c:812: warning: unused parameter 'premature'
      smb.c:822: warning: unused parameter 'dead'
      069f63c8
    • Steve Holme's avatar
      smb.c: Fixed compilation warnings · 676f79f8
      Steve Holme authored
      smb.c:311: warning: conversion from 'unsigned __int64' to 'u_short',
                 possible loss of data
      smb.c:425: warning: conversion from '__int64' to 'unsigned short',
                 possible loss of data
      smb.c:452: warning: conversion from '__int64' to 'unsigned short',
                 possible loss of data
      676f79f8
    • Steve Holme's avatar
      smb.c: Fixed compilation warnings · cef28131
      Steve Holme authored
      smb.c:162: error: comma at end of enumerator list
      smb.c:469: warning: conversion from 'size_t' to 'unsigned short',
                 possible loss of data
      smb.c:517: warning: conversion from 'curl_off_t' to 'unsigned int',
                 possible loss of data
      smb.c:545: warning: conversion from 'curl_off_t' to 'unsigned int',
                 possible loss of data
      cef28131
    • Bill Nagel's avatar
      smb: Added initial SMB functionality · 02d2c0a0
      Bill Nagel authored
      Initial implementation of the SMB/CIFS protocol.
      02d2c0a0
    • Bill Nagel's avatar
      smb: Added SMB handler interfaces · aec2e865
      Bill Nagel authored
      Added the SMB and SMBS handler interface structures and associated
      functions required for SMB/CIFS operation.
      aec2e865
    • Steve Holme's avatar
      transfer: Code style policing · 56120ca0
      Steve Holme authored
      Prefer ! rather than NULL in if statements, added comments and updated
      function spacing, argument spacing and line spacing to be more readble.
      56120ca0
    • Steve Holme's avatar
      transfer: Fixed existing scratch buffer being checked for NULL twice · 785d76d6
      Steve Holme authored
      If the scratch buffer already existed when the CRLF conversion was
      performed then the buffer pointer would be checked twice for NULL. This
      second check is only necessary if the call to malloc() was performed by
      the first check.
      785d76d6
    • Steve Holme's avatar
      smtp: Fixed dot stuffing being performed when no new data read · 9afd9702
      Steve Holme authored
      Whilst I had moved the dot stuffing code from being performed before
      CRLF conversion takes place to after it, in commit 4bd860a0, I had
      moved it outside the 'when something read' block of code when meant
      it could perform the dot stuffing twice on partial send if nread
      happened to contain the right values. It also meant the function could
      potentially read past the end of buffer. This was highlighted by the
      following warning:
      
      warning: `nread' might be used uninitialized in this function
      9afd9702
  2. Nov 29, 2014
  3. Nov 28, 2014
  4. Nov 27, 2014
  5. Nov 26, 2014
  6. Nov 25, 2014
  7. Nov 24, 2014
  8. Nov 23, 2014