forked from Lainports/freebsd-ports
The contents of the message are POST'ed to another server for logging. WWW: http://github.com/pquerna/ckl PR: ports/147261 Submitted by: Tomaz Muraus <kami@k5-storitve.net>
27 lines
598 B
C
27 lines
598 B
C
*** src/conf.c.orig Sun Jan 24 02:46:27 2010
|
|
--- src/conf.c Tue Jun 1 07:19:59 2010
|
|
***************
|
|
*** 86,96 ****
|
|
{
|
|
int rv;
|
|
FILE *fp;
|
|
|
|
/* TODO: respect prefix */
|
|
! fp = fopen("/etc/cloudkick.conf", "r");
|
|
if (fp == NULL) {
|
|
char buf[2048];
|
|
const char *home = getenv("HOME");
|
|
|
|
if (home == NULL) {
|
|
--- 86,96 ----
|
|
{
|
|
int rv;
|
|
FILE *fp;
|
|
|
|
/* TODO: respect prefix */
|
|
! fp = fopen("/usr/local/etc/cloudkick.conf", "r");
|
|
if (fp == NULL) {
|
|
char buf[2048];
|
|
const char *home = getenv("HOME");
|
|
|
|
if (home == NULL) {
|