mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
5db405731c
Submitted by: Yin-Jieh Chen <yinjieh@csie.nctu.edu.tw>
12 lines
343 B
Plaintext
12 lines
343 B
Plaintext
--- lpd/lpd_interface.c.orig Sat May 15 02:26:06 1999
|
|
+++ lpd/lpd_interface.c Sat May 15 02:26:25 1999
|
|
@@ -80,7 +80,7 @@
|
|
|
|
MESSAGE (2, connecting...);
|
|
|
|
- if ( connect(sckt, &serv_addr, sizeof(serv_addr)) != 0 ) {
|
|
+ if ( connect(sckt, (struct sockaddr *)&serv_addr, sizeof(serv_addr)) != 0 ) {
|
|
perror ("connect");
|
|
exit (1);
|
|
}
|