diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-08-05 09:19:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:29:19 -0500 |
commit | abc519ff43fc71b3353704227d1941285062a256 (patch) | |
tree | 1fbafbeb4cdb87454927f0c4df8d266a94783c86 /source3/smbd | |
parent | e41528c3f498640800bb3c773f01e27105963bdf (diff) | |
download | samba-abc519ff43fc71b3353704227d1941285062a256.tar.gz samba-abc519ff43fc71b3353704227d1941285062a256.tar.bz2 samba-abc519ff43fc71b3353704227d1941285062a256.zip |
r24234: Reformatting -- SCNR
(This used to be commit 040d6d5db6d929f1612b1b0dc762b7f55c956740)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/ipc.c | 69 |
1 files changed, 20 insertions, 49 deletions
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c index 1dab5dbe56..c56d167806 100644 --- a/source3/smbd/ipc.c +++ b/source3/smbd/ipc.c @@ -354,34 +354,20 @@ static int api_fd_reply(connection_struct *conn, Handle named pipe commands. ****************************************************************************/ -static int named_pipe(connection_struct *conn, - uint16 vuid, - const char *inbuf, - char *outbuf, - char *name, - uint16 *setup, - char *data, - char *params, - int suwcnt, - int tdscnt, - int tpscnt, - int msrcnt, - int mdrcnt, - int mprcnt) +static int named_pipe(connection_struct *conn, uint16 vuid, + const char *inbuf, char *outbuf, + char *name, uint16 *setup, + char *data, char *params, + int suwcnt, int tdscnt,int tpscnt, + int msrcnt, int mdrcnt, int mprcnt) { DEBUG(3,("named pipe command on <%s> name\n", name)); if (strequal(name,"LANMAN")) { - return api_reply(conn, - vuid, - inbuf, - outbuf, - data, - params, - tdscnt, - tpscnt, - mdrcnt, - mprcnt); + return api_reply(conn, vuid, inbuf, outbuf, + data, params, + tdscnt, tpscnt, + mdrcnt, mprcnt); } if (strequal(name,"WKSSVC") || @@ -390,37 +376,22 @@ static int named_pipe(connection_struct *conn, strequal(name,"SAMR") || strequal(name,"LSARPC")) { DEBUG(4,("named pipe command from Win95 (wow!)\n")); - return api_fd_reply(conn, - vuid, - inbuf, - outbuf, - setup, - data, - params, - suwcnt, - tdscnt, - tpscnt, - mdrcnt, - mprcnt); + return api_fd_reply(conn, vuid, inbuf, outbuf, + setup, data, params, + suwcnt, tdscnt, tpscnt, + mdrcnt, mprcnt); } if (strlen(name) < 1) { - return api_fd_reply(conn, - vuid, - inbuf, - outbuf, - setup, - data, - params, - suwcnt, - tdscnt, - tpscnt, - mdrcnt, - mprcnt); + return api_fd_reply(conn, vuid, inbuf, outbuf, + setup, data, + params, suwcnt, tdscnt, + tpscnt, mdrcnt, mprcnt); } if (setup) - DEBUG(3,("unknown named pipe: setup 0x%X setup1=%d\n", (int)setup[0],(int)setup[1])); + DEBUG(3,("unknown named pipe: setup 0x%X setup1=%d\n", + (int)setup[0],(int)setup[1])); return 0; } |