summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-08-04vector: remove implicit cast warning in vector_insert() by adding explicit castMichael Adam1-1/+1
Michael
2009-08-04vector: remove implicit cast warning in vector_create()Michael Adam1-1/+1
Michael
2009-08-04child_pool_create(): add to explicit cats to reduce compiler warnings.Michael Adam1-2/+2
Michael
2009-08-04child: adapt child_config to contain unsigned integersMichael Adam2-4/+4
as just changed in get_int_arg. Michael
2009-08-04conffile: change [sg]et_int_arg() to return unsigned long intMichael Adam1-7/+7
This is also the parser regexp for INT in the definition. Michael
2009-08-04conffile: add explicit cast in get_string_arg().Michael Adam1-1/+1
Michael
2009-08-04config_compile(): add an explicit cast.Michael Adam1-1/+1
Michael
2009-08-04config_compile(): fix as signed / unsigned comparison compiler warning.Michael Adam1-1/+1
Michael
2009-08-04conffile: fix indentation in the directives definition.Michael Adam1-45/+47
Michael
2009-08-04conffile: fix some missing initializer warnings in the directives definition.Michael Adam1-4/+5
Michael
2009-08-04conffile: reformat some indentation and linebreak in the directives definition.Michael Adam1-10/+8
Michael
2009-08-04child: add explicit cast in child_main().Michael Adam1-1/+1
Michael
2009-08-04buffer: add explicit cast in read_buffer().Michael Adam1-1/+1
Michael
2009-08-04buffer: add explicit cast in new_buffer().Michael Adam1-1/+1
Michael
2009-08-04buffer: untangle assignment and check.Michael Adam1-1/+2
Michael
2009-08-04buffer: add two explicit casts to reduce compiler warnings in makenewline().Michael Adam1-2/+2
Michael
2009-08-04buffer: untangle assignment from check in makenewline().Michael Adam1-2/+4
For better debuggability. Michael
2009-08-04check_acl(): initialize "perm" to eliminate compiler warning.Michael Adam1-1/+1
Provides safe fallback for switch statement, just in case.. Michael
2009-08-04check_acl(): remove the fd argument - it is not used.Michael Adam3-5/+3
Host name and IP address are provided instead. Michael
2009-08-04check_acl(): fix function header comment.Michael Adam1-1/+1
Michael
2009-08-04check_acl(): add explicit cast to return value of vector_getentry()Michael Adam1-1/+1
to reduce compiler warnings. Michael
2009-08-04check_acl(): add cast to recuce compiler warning (unsigned / signed comparison)Michael Adam1-1/+1
vector_lenth() returns < 0 if the vectore is NULL but this has been checked before, so we can safely cast. Michael
2009-08-04change vector_prepend() to take size_t len instead of ssize_t len argument.Michael Adam2-2/+2
Michael
2009-08-04change vector_append() to take size_t len instead of ssize_t len argumentMichael Adam2-2/+2
Michael
2009-08-04vector: change vectore_insert() to take size_t len instead of ssize_t len argMichael Adam1-1/+1
Michael
2009-08-04remove "discard const" compiler warnings with log_message().Michael Adam2-2/+2
Michael
2009-08-04configure: Add more warnings to CFLAGS in debug modeMichael Adam1-0/+1
Michael
2009-08-04tinyproxy.conf: fix a comment typoMichael Adam1-1/+1
Michael
2009-08-04[BB#53] Add a GPLv2 COPYING fileMukund Sivaraman2-1/+339
Tinyproxy is distributed under the GNU GPLv2 or above license. If autotools are used to build Tinyproxy without this file, they copy the system installed COPYING file which is nowadays the GNU GPLv3 license.
2009-06-14tinyproxy.conf: kill some trailing spacesMichael Adam1-6/+6
Michael
2009-05-29autogen.sh: fix errors with new autotools.Michael Adam1-3/+1
The following errors occurred when running ./autogen.sh : $ ./autogen.sh + aclocal configure.ac:18: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS ../../lib/autoconf/specific.m4:386: AC_USE_SYSTEM_EXTENSIONS is expanded from... ../../lib/autoconf/specific.m4:332: AC_GNU_SOURCE is expanded from... configure.ac:18: the top level configure.ac:18: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS configure.ac:19: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS ../../lib/autoconf/specific.m4:459: AC_MINIX is expanded from... configure.ac:19: the top level configure.ac:19: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS and so on for autoheader and friends. According to the autotools docs, the proper way to handle this is to just call AC_USE_SYSTEM_EXTENSIONS. Michael
2008-12-29Indenting changeMukund Sivaraman1-1/+4
2008-12-08Convert tabs to spacesMukund Sivaraman37-1274/+1262
2008-12-08Update Tinyproxy website URLMukund Sivaraman1-1/+1
2008-12-08Break at 80 columnsMukund Sivaraman11-35/+69
2008-12-01Reformat code to GNU coding styleMukund Sivaraman47-5029/+5372
This is a commit which simply ran all C source code files through GNU indent. No other modifications were made.
2008-12-01Don't disable the creation of core filesMukund Sivaraman1-12/+0
Creation of core files can be disabled in the OS environment such as by using the ulimit program.
2008-10-16Update Tinyproxy website URLsMukund Sivaraman3-10/+11
2008-08-24Tweak configure.ac a bitMukund Sivaraman1-18/+4
2008-08-24Update the bugmail fieldMukund Sivaraman1-1/+1
2008-08-24Add more calls to umask() before mkstemp()Mukund Sivaraman2-0/+10
2008-08-24Move buffer to the heap due to its sizeMukund Sivaraman1-7/+15
2008-08-24Set umask before mkstemp() for some versions of glibcMukund Sivaraman2-1/+6
2008-08-24pos can never be less than 0 as it's of type size_tMukund Sivaraman4-4/+4
Also fix the type which is passed in from various places.
2008-08-24Remove useless check as data can't be NULL at this pointMukund Sivaraman1-10/+6
2008-07-30Add whitespaceMukund Sivaraman1-1/+1
2008-07-30Update the bug-report fieldMukund Sivaraman1-1/+1
2008-07-14Add missing commaMukund Sivaraman1-1/+1
2008-07-14Change bug report address to email address in AC_INITMukund Sivaraman1-1/+1
2008-07-14Allow numeric uid/gids in User and Group directivesMukund Sivaraman3-23/+52
This change allows numeric uid/gids to be specified in the User and Group directives in tinyproxy.conf. Formerly, only username and group names were accepted. This fixes bug #15, which was created after looking at a case on the OpenWrt wiki. X-Banu-Bugzilla-Ids: 15