svn commit: samba r12487 - in branches/SAMBA_4_0/source/lib: .

jelmer at samba.org jelmer at samba.org
Mon Dec 26 00:07:17 GMT 2005


Author: jelmer
Date: 2005-12-26 00:07:17 +0000 (Mon, 26 Dec 2005)
New Revision: 12487

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12487

Log:
Remove obsolete function

Modified:
   branches/SAMBA_4_0/source/lib/util.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/util.c
===================================================================
--- branches/SAMBA_4_0/source/lib/util.c	2005-12-25 21:59:13 UTC (rev 12486)
+++ branches/SAMBA_4_0/source/lib/util.c	2005-12-26 00:07:17 UTC (rev 12487)
@@ -282,30 +282,6 @@
 }
 
 /****************************************************************************
- Interpret a protocol description string, with a default.
-****************************************************************************/
-
-int interpret_protocol(char *str,int def)
-{
-	if (strequal(str,"NT1"))
-		return(PROTOCOL_NT1);
-	if (strequal(str,"LANMAN2"))
-		return(PROTOCOL_LANMAN2);
-	if (strequal(str,"LANMAN1"))
-		return(PROTOCOL_LANMAN1);
-	if (strequal(str,"CORE"))
-		return(PROTOCOL_CORE);
-	if (strequal(str,"COREPLUS"))
-		return(PROTOCOL_COREPLUS);
-	if (strequal(str,"CORE+"))
-		return(PROTOCOL_COREPLUS);
-  
-	DEBUG(0,("Unrecognised protocol level %s\n",str));
-  
-	return(def);
-}
-
-/****************************************************************************
  Return true if a string could be a pure IP address.
 ****************************************************************************/
 



More information about the samba-cvs mailing list