-#include "config.h"
+/*
+ * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
/* UNIX SMBlib NetBIOS implementation
SMBlib Utility Routines
Copyright (C) Richard Sharpe 1996
-
*/
/*
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "smblib/smblib.h"
-#include "smblib/smblib-priv.h"
+#include "squid.h"
#include "rfcnb/rfcnb.h"
+#include "smblib/smblib-priv.h"
+#include "smblib/smblib.h"
#if HAVE_STRING_H
#include <string.h>
/* Print the other bits in the header */
-
/* etc */
}
}
-
/* Negotiate the protocol we will use from the list passed in Prots */
/* we return the index of the accepted protocol in NegProt, -1 indicates */
/* none acceptible, and our return value is 0 if ok, <0 if problems */
if (RFCNB_Send(Con_Handle -> Trans_Connect, pkt, pkt_len) < 0) {
-
#ifdef DEBUG
fprintf(stderr, "Error sending negotiate protocol\n");
#endif
static const char *SMBlib_Error_Messages[] = {
- "Request completed sucessfully.",
+ "Request completed successfully.",
"Server returned a non-zero SMB Error Class and Code.",
"A lower layer protocol error occurred.",
"Function not yet implemented.",
}
}
+