Commit e57ad57f authored by Kevin Bracey's avatar Kevin Bracey
Browse files

Fixed uninitialised variable bug that revealed itself with cc 5.55.

Version 2.30. Tagged as 'LanManFS-2_30'
parent ac44a2cf
/* (2.29)
/* (2.30)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.2.
* Last processed by srccommit version: 1.68.
*
*/
#define Module_MajorVersion_CMHG 2.29
#define Module_MajorVersion_CMHG 2.30
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 09 Jan 2004
#define Module_Date_CMHG 16 Feb 2004
#define Module_MajorVersion "2.29"
#define Module_Version 229
#define Module_MajorVersion "2.30"
#define Module_Version 230
#define Module_MinorVersion ""
#define Module_Date "09 Jan 2004"
#define Module_Date "16 Feb 2004"
#define Module_ApplicationDate "09-Jan-04"
#define Module_ApplicationDate "16-Feb-04"
#define Module_ComponentName "LanManFS"
#define Module_ComponentPath "RiscOS/Sources/Networking/Omni/Protocols/LanManFS"
#define Module_FullVersion "2.29"
#define Module_HelpVersion "2.29 (09 Jan 2004)"
#define Module_LibraryVersionInfo "2:29"
#define Module_FullVersion "2.30"
#define Module_HelpVersion "2.30 (16 Feb 2004)"
#define Module_LibraryVersionInfo "2:30"
......@@ -994,7 +994,7 @@ static err_t SMB_SessSetup ( hSHARE hS, char *userid, char *passwd )
SMB_TxWords[8] = 0;
SMB_TxWords[9] = SMB_TxWords[10] = 0; /* Reserved */
SMB_TxWords[11] = SMB_TxWords[12] = 0; /* client capabilities */
pB = AddChain(pB, "CIFS", sizeof("CIFS"));
pB = AddChain(NULL, "CIFS", sizeof("CIFS"));
if (pB) pB = AddChain(pB, "\0RISCOS", sizeof("\0RISCOS"));
if (pB) pB = AddChain(pB, userid, strlen(userid) + 1);
if (pB) pB = AddChain(pB, passwd, strlen(passwd));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment