X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=miscutil.c;h=404602e36e89d25b068938ee7c3b9cdfd54c6f5e;hp=8dcdd95387c8d8985729e5586aa0f15bc1fc33b8;hb=d413f089844873c5d88bb1580357124b45fab66c;hpb=1f641e69a8cb9402126c1031f71424527d669dff diff --git a/miscutil.c b/miscutil.c index 8dcdd953..404602e3 100644 --- a/miscutil.c +++ b/miscutil.c @@ -1,5 +1,5 @@ /* vim:ts=3: */ -const char miscutil_rcs[] = "$Id: miscutil.c,v 1.10 2001/06/07 14:51:38 joergs Exp $"; +const char miscutil_rcs[] = "$Id: miscutil.c,v 1.11 2001/06/07 23:09:19 jongfoster Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/miscutil.c,v $ @@ -37,6 +37,9 @@ const char miscutil_rcs[] = "$Id: miscutil.c,v 1.10 2001/06/07 14:51:38 joergs E * * Revisions : * $Log: miscutil.c,v $ + * Revision 1.11 2001/06/07 23:09:19 jongfoster + * Cosmetic indentation changes. + * * Revision 1.10 2001/06/07 14:51:38 joergs * make_path() no longer adds '/' if the dir already ends in '/'. * @@ -159,7 +162,12 @@ const char miscutil_rcs[] = "$Id: miscutil.c,v 1.10 2001/06/07 14:51:38 joergs E #include #include -#include "miscutil.h" +/* + * FIXME: Only need project.h for BUFFER_SIZE. It would be nice + * to remove this dependency. + */ +#include "project.h" +#include "miscutil.h" #include "errlog.h" const char miscutil_h_rcs[] = MISCUTIL_H_VERSION; @@ -279,7 +287,7 @@ char *strdup( const char *s ) char *safe_strerror(int err) { char *s = NULL; - char buf[BUFSIZ]; + char buf[BUFFER_SIZE]; #ifdef HAVE_STRERROR