fix function name
diff --git a/libtelnet.c b/libtelnet.c
index 1e9bcf8..df8a882 100644
--- a/libtelnet.c
+++ b/libtelnet.c
@@ -775,7 +775,7 @@
 }
 
 /* send subnegotiation header */
-void telnet_begin_subnegotiation(telnet_t *telnet, unsigned char telopt) {
+void telnet_begin_sb(telnet_t *telnet, unsigned char telopt) {
 	const char sb[3] = { TELNET_IAC, TELNET_SB, telopt };
 	_send(telnet, sb, 3);
 }