s3: Fix some error messages
[amitay/samba.git] / source3 / smbd / ipc.c
index beb802859b13d4f229e6deef71220b6c773e1865..3674c0dea12f05a32a07c7c75567d828012e85c2 100644 (file)
@@ -317,7 +317,8 @@ static void api_dcerpc_cmd_write_done(struct tevent_req *subreq)
                    true, req->seqnum+1,
                    IS_CONN_ENCRYPTED(req->conn) || req->encrypted,
                    &req->pcd)) {
-               exit_server_cleanly("construct_reply: srv_send_smb failed.");
+               exit_server_cleanly("api_dcerpc_cmd_write_done: "
+                                   "srv_send_smb failed.");
        }
        TALLOC_FREE(req);
 }
@@ -344,8 +345,8 @@ static void api_dcerpc_cmd_read_done(struct tevent_req *subreq)
                                  true, req->seqnum+1,
                                  IS_CONN_ENCRYPTED(req->conn)
                                  ||req->encrypted, &req->pcd)) {
-                       exit_server_cleanly("construct_reply: srv_send_smb "
-                                           "failed.");
+                       exit_server_cleanly("api_dcerpc_cmd_read_done: "
+                                           "srv_send_smb failed.");
                }
                TALLOC_FREE(req);
                return;