summaryrefslogtreecommitdiff
path: root/src/main.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2009-09-20Remove the target system information when the version is displayedMukund Sivaraman1-1/+1
If we require information about the runtime environment, it can be found using the uname program. And binutils can tell about what the tinyproxy binary contains. Tinyproxy doesn't have to report this information.
2009-09-20Remove ability to change the name of the default configuration fileMukund Sivaraman1-1/+1
This feature will only confuse us during support, if users come to us with a Tinyproxy build which has a differently named default config file. This feature is not that useful anyway.
2009-09-15Make takesig() into a static functionMukund Sivaraman1-3/+1
2009-09-15Minor indenting changesMukund Sivaraman1-46/+38
Also changed the text "configuration file" to read "config file".
2009-09-15Return instead of exit() at end of main()Mukund Sivaraman1-1/+1
2009-09-15Minor indenting changesMukund Sivaraman1-5/+10
2009-09-15Exit with proper status in case of bad commandline argumentsMukund Sivaraman1-1/+4
2009-09-15Add doc for change_user()Mukund Sivaraman1-0/+8
2009-09-15Return correct error status when setuid() or setgid() failsMukund Sivaraman1-2/+2
2009-09-15Extract setuid/setgid code into a functionMukund Sivaraman1-53/+62
2009-09-15Extract cmdline parsing code into a functionMukund Sivaraman1-22/+37
2009-09-15Remove unused variableMukund Sivaraman1-1/+0
2009-09-15Indent code to Tinyproxy coding styleMukund Sivaraman1-338/+306
The modified files were indented with GNU indent using the following command: indent -npro -kr -i8 -ts8 -sob -l80 -ss -cs -cp1 -bs -nlps -nprs -pcs \ -saf -sai -saw -sc -cdw -ce -nut -il0 No other changes of any sort were made.
2009-08-07Rename tinyproxy.[ch] to main.[ch]Mukund Sivaraman1-0/+476