r24144: Fix the build
authorVolker Lendecke <vlendec@samba.org>
Thu, 2 Aug 2007 20:56:40 +0000 (20:56 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:29:12 +0000 (12:29 -0500)
In a function returning void the "return;" needs to stand alone on some
compilers

source/smbd/trans2.c

index b95c017b839de4cd55b9adabede628ccb3f5ee0b..803a2eb306449044e7454207d7474f30b28ed229 100644 (file)
@@ -3458,13 +3458,11 @@ static void call_trans2qfilepathinfo(connection_struct *conn,
                }
 
                if (IS_IPC(conn)) {
-                       return call_trans2qpipeinfo(conn, req,
-                                                       tran_call,
-                                                       pparams,
-                                                       total_params,
-                                                       ppdata,
-                                                       total_data,
-                                                       max_data_bytes);
+                       call_trans2qpipeinfo(conn, req, tran_call,
+                                            pparams, total_params,
+                                            ppdata, total_data,
+                                            max_data_bytes);
+                       return;
                }
 
                fsp = file_fsp(SVAL(params,0));