From: Volker Lendecke Date: Sun, 19 Oct 2008 13:17:12 +0000 (+0200) Subject: "fn_new"->"fn" in smb_messages[], we got beyond that :-) X-Git-Tag: samba-4.0.0alpha6~778^2~19^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48d3a1d2fb5569ab11ffef8b903af91d77d326a3;p=thirdparty%2Fsamba.git "fn_new"->"fn" in smb_messages[], we got beyond that :-) --- diff --git a/source3/smbd/process.c b/source3/smbd/process.c index c74c7fd445d..a8b93d8e1c5 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -978,7 +978,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] = { @@ -1354,7 +1354,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); @@ -1476,7 +1476,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; }