SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
sysutils/rtty/patches/patch-locbrok_c
Normal file
15
sysutils/rtty/patches/patch-locbrok_c
Normal file
|
@ -0,0 +1,15 @@
|
|||
--- locbrok.c.orig Wed May 8 12:30:37 2002
|
||||
+++ locbrok.c Wed May 8 12:30:37 2002
|
||||
@@ -76,10 +76,10 @@ static reg_db *RegDB = NULL;
|
||||
|
||||
main(int argc, char *argv[]) {
|
||||
struct servent *serv;
|
||||
- char ch;
|
||||
+ int ch;
|
||||
|
||||
ProgName = argv[0];
|
||||
- while ((ch = getopt(argc, argv, "s:x:")) != EOF) {
|
||||
+ while ((ch = getopt(argc, argv, "s:x:")) != -1) {
|
||||
switch (ch) {
|
||||
case 's':
|
||||
Service = optarg;
|
Loading…
Add table
Add a link
Reference in a new issue