Patrick Siegl
a19456d221
Improved readability of daemon.c
2019-03-21 22:14:15 +01:00
Patrick Siegl
ad6c6b3dcb
Change tabs to whitespaces
2019-03-21 22:04:49 +01:00
Patrick Siegl
47e144eff8
In case fprintf() fails, still close the file descr.
2019-03-21 22:03:24 +01:00
Manuel Domke
a566f330c4
revert changed to listUSBDevices, for now it just print to stdout
2018-04-21 17:15:28 +02:00
Rune Magnussen
54101c0de4
Introduce struct opt_struct for parsed options.
...
Parsed options are now placed in a structure which is passed as
argument to functions reduce the number of parameters. This makes
the call sites simpler. It also makes more informations available
to the functions.
2017-11-30 23:04:22 +01:00
Bill Cox
bb14828ea1
Cleanup patches from Rune Magnussen
2015-09-15 03:53:44 -07:00
Bill Cox
d71b1c286b
Chaned pid_t to int32 for portability
2015-08-24 04:26:45 -07:00
Bill Cox
d785240e80
Applied daemon patch, thanks to Rune Magnussen
2015-08-18 09:44:00 -07:00