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
86eed8a334
commit
3e4448fa1c
@ -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…
Reference in New Issue
Block a user