]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
"fn_new"->"fn" in smb_messages[], we got beyond that :-)
authorVolker Lendecke <vl@samba.org>
Sun, 19 Oct 2008 13:17:12 +0000 (15:17 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 19 Oct 2008 19:51:17 +0000 (21:51 +0200)
source3/smbd/process.c

index c74c7fd445d1cacde309db055e064db776eb42e7..a8b93d8e1c52866c139b771809414626fd67e998 100644 (file)
@@ -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;
 }