FreeBSD Bugzilla – Attachment 46743 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]
callbootd.c.diff
callbootd.c.diff (text/x-patch), 1.18 KB, created by
Rebecca Cran
on 2008-09-04 19:10:13 UTC
(
hide
)
Description:
callbootd.c.diff
Filename:
MIME Type:
Creator:
Rebecca Cran
Created:
2008-09-04 19:10:13 UTC
Size:
1.18 KB
patch
obsolete
>--- callbootd.c.orig 2008-09-04 18:48:40.000000000 +0100 >+++ callbootd.c 2008-09-04 18:57:11.000000000 +0100 >@@ -32,15 +32,14 @@ > char cln[MAX_MACHINE_NAME+1]; > char dmn[MAX_MACHINE_NAME+1]; > char path[MAX_PATH_LEN+1]; >-extern char *inet_ntoa(); > static void usage(void); > int printgetfile(bp_getfile_res *); > int printwhoami(bp_whoami_res *); >+bool_t eachres_whoami(bp_whoami_res *, struct sockaddr_in *); >+bool_t eachres_getfile(bp_getfile_res *, struct sockaddr_in *); > > bool_t >-eachres_whoami(resultp, raddr) >-bp_whoami_res *resultp; >-struct sockaddr_in *raddr; >+eachres_whoami(bp_whoami_res *resultp, struct sockaddr_in *raddr) > { > struct hostent *he; > >@@ -52,9 +51,7 @@ > } > > bool_t >-eachres_getfile(resultp, raddr) >-bp_getfile_res *resultp; >-struct sockaddr_in *raddr; >+eachres_getfile(bp_getfile_res *resultp, struct sockaddr_in *raddr) > { > struct hostent *he; > >@@ -67,9 +64,7 @@ > > > int >-main(argc, argv) >-int argc; >-char **argv; >+main(int argc, char **argv) > { > char *server; > >@@ -80,7 +75,7 @@ > > > long the_inet_addr; >- CLIENT *clnt; >+ CLIENT *clnt = NULL; > enum clnt_stat clnt_stat; > > stat_whoami_res.client_name = cln; >@@ -155,6 +150,7 @@ > usage(); > } > >+ return 0; > } > >
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