diff options
author | Volker Lendecke <vl@samba.org> | 2008-10-19 15:17:12 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-10-19 21:51:17 +0200 |
commit | 48d3a1d2fb5569ab11ffef8b903af91d77d326a3 (patch) | |
tree | 0fb72d10bc5151da40699e64a728754e1b6ac47f /source3 | |
parent | 1510b7b8c99ea64a8fabdb89c5868b2f5895fdbf (diff) | |
download | samba-48d3a1d2fb5569ab11ffef8b903af91d77d326a3.tar.gz samba-48d3a1d2fb5569ab11ffef8b903af91d77d326a3.tar.bz2 samba-48d3a1d2fb5569ab11ffef8b903af91d77d326a3.zip |
"fn_new"->"fn" in smb_messages[], we got beyond that :-)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/process.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index c74c7fd445..a8b93d8e1c 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; } |