FreeBSD Bugzilla – Attachment 46744 Details for
Bug 71667
[patch] cleanup of the usr.sbin/bootparamd code
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
bootparamd.c.diff
bootparamd.c.diff (text/x-patch), 1.43 KB, created by
Rebecca Cran
on 2008-09-04 23:01:35 UTC
(
hide
)
Description:
bootparamd.c.diff
Filename:
MIME Type:
Creator:
Rebecca Cran
Created:
2008-09-04 23:01:35 UTC
Size:
1.43 KB
patch
obsolete
>--- bootparamd.c.orig 2008-09-04 21:16:32.000000000 +0100 >+++ bootparamd.c 2008-09-04 22:54:29.000000000 +0100 >@@ -44,12 +44,11 @@ > int checkhost(char *, char *, int); > > bp_whoami_res * >-bootparamproc_whoami_1_svc(whoami, req) >-bp_whoami_arg *whoami; >-struct svc_req *req; >+bootparamproc_whoami_1_svc(bp_whoami_arg *whoami, struct svc_req *req) > { > in_addr_t haddr; > static bp_whoami_res res; >+ (void) req; > if (debug) > fprintf(stderr,"whoami got question for %d.%d.%d.%d\n", > 255 & whoami->client_address.bp_address_u.ip_addr.net, >@@ -110,13 +109,13 @@ > > > bp_getfile_res * >- bootparamproc_getfile_1_svc(getfile, req) >-bp_getfile_arg *getfile; >-struct svc_req *req; >+bootparamproc_getfile_1_svc(bp_getfile_arg *getfile, struct svc_req *req) > { >- char *where, *index(); >+ char *where; > static bp_getfile_res res; > >+ (void) req; >+ > if (debug) > warnx("getfile got question for \"%s\" and file \"%s\"", > getfile->client_name, getfile->file_id); >@@ -184,10 +183,7 @@ > empty answer for the file "dump") */ > > int >-getthefile(askname,fileid,buffer,blen) >-char *askname; >-char *fileid, *buffer; >-int blen; >+getthefile(char *askname,char *fileid,char *buffer,int blen) > { > FILE *bpf; > char *where; >@@ -286,10 +282,7 @@ > name for a host in the database */ > > int >-checkhost(askname, hostname, len) >-char *askname; >-char *hostname; >-int len; >+checkhost(char *askname, char *hostname, int len) > { > int ch, pch; > FILE *bpf;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 71667
:
46742
|
46743
| 46744 |
46745