From ebb60c0302482d347bed123795864c178defb08e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 12 Jan 2003 11:29:02 +0000 Subject: Make the 'service' in make_connection() use an fstrcpy(), and an fstring, becouse that is what it's input (reply_tcon_and_x) uses, and becouse we really don't want supprises for service names. Also remove a legacy #define, in favor of the lp_ equiv. Andrew Bartlett (This used to be commit 7854a439ac601d3c23703b115cd5a8d4257c7717) --- source3/include/smb_macros.h | 1 - 1 file changed, 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h index 71d4bac795..95f7e05f7d 100644 --- a/source3/include/smb_macros.h +++ b/source3/include/smb_macros.h @@ -100,7 +100,6 @@ /* access various service details */ #define SERVICE(snum) (lp_servicename(snum)) -#define PRINTCAP (lp_printcapname()) #define PRINTCOMMAND(snum) (lp_printcommand(snum)) #define PRINTERNAME(snum) (lp_printername(snum)) #define CAN_WRITE(conn) (!conn->read_only) -- cgit