From 38ce3cf984c1b9c9049a85f76fa7475a8fa80564 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 20 Oct 2008 11:05:45 -0700 Subject: [PATCH] "fn_new"->"fn" in smb_messages[], we got beyond that :-) (cherry picked from commit f1c0d56e8230bb4a8c085ad885cf05cbcc8297ec) --- source/smbd/process.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/smbd/process.c b/source/smbd/process.c index 81f6b118609..338f60644d7 100644 --- a/source/smbd/process.c +++ b/source/smbd/process.c @@ -977,7 +977,7 @@ force write permissions on print services. */ static const struct smb_message_struct { const char *name; - void (*fn_new)(struct smb_request *req); + void (*fn)(struct smb_request *req); int flags; } smb_messages[256] = { @@ -1353,7 +1353,7 @@ static connection_struct *switch_message(uint8 type, struct smb_request *req, in exit_server_cleanly("Non-SMB packet"); } - if (smb_messages[type].fn_new == NULL) { + if (smb_messages[type].fn == NULL) { DEBUG(0,("Unknown message type %d!\n",type)); smb_dump("Unknown", 1, (char *)req->inbuf, size); reply_unknown_new(req, type); @@ -1475,7 +1475,7 @@ static connection_struct *switch_message(uint8 type, struct smb_request *req, in return conn; } - smb_messages[type].fn_new(req); + smb_messages[type].fn(req); return req->conn; } -- 2.11.4.GIT