Fix nasty bug where getpackagesite() will return an integer if it doesn't
know what revision of FreeBSD is being run. This case should never happen, but just in case.
This commit is contained in:
parent
19f1101052
commit
2d073cdff2
@ -1,6 +1,6 @@
|
||||
#ifndef lint
|
||||
static const char rcsid[] =
|
||||
"$Id: main.c,v 1.21 1999/01/25 21:08:13 billf Exp $";
|
||||
"$Id: main.c,v 1.22 1999/01/26 22:31:23 billf Exp $";
|
||||
#endif
|
||||
|
||||
/*
|
||||
@ -198,7 +198,7 @@ getpackagesite(char binform[1024])
|
||||
return !strcmp(binform, "elf") ? "i386/packages-3-stable/Latest/" :
|
||||
"i386/packages-3.0-aout/Latest/";
|
||||
|
||||
return(0);
|
||||
return("");
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user