aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server/mds-server.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* no more direct allocations, always use macros, unless using allocaMattias Andrée2014-12-101-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* with a few exceptions, never return directly on failure, always goto fail by invoking fail_ifMattias Andrée2014-12-091-7/+5
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* rename pfail to failMattias Andrée2014-12-081-5/+5
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + make sure we never lose errnoMattias Andrée2014-12-081-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* no more goto failMattias Andrée2014-12-081-11/+11
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* replace all goto pfail with fail_if, so that we can take whence it failedMattias Andrée2014-12-081-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typoMattias Andrée2014-11-261-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* pack client_list on dangerMattias Andrée2014-09-081-3/+11
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add sigdanger supportMattias Andrée2014-08-201-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* macros for ato* with castMattias Andrée2014-08-121-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add fork_for_safety option + beginning of kernel-based keyboardMattias Andrée2014-08-111-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* miscMattias Andrée2014-08-021-6/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* miscMattias Andrée2014-08-021-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* beginning of mds-respawnMattias Andrée2014-06-071-2/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix file namesMattias Andrée2014-06-071-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* Modify mds-server to use mds-base (some regression...)Mattias Andrée2014-05-201-103/+98
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add broadcast supportMattias Andrée2014-05-191-3/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + add --alarm= optionsMattias Andrée2014-05-191-22/+37
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* Do not just queue "Client close" message, but also send itMattias Andrée2014-05-191-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* reduce code complexityMattias Andrée2014-05-191-258/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-05-191-1/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add to fixme:sMattias Andrée2014-05-191-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix regressionMattias Andrée2014-05-191-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* reduce code complexityMattias Andrée2014-05-181-434/+34
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* reduce code complexityMattias Andrée2014-05-181-90/+14
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* reduce code complexityMattias Andrée2014-05-181-589/+11
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* reduce code complexityMattias Andrée2014-05-181-173/+261
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* reduce code complexityMattias Andrée2014-05-181-115/+107
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-05-181-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* reduce code complexityMattias Andrée2014-05-181-109/+117
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* style + reduce code complexityMattias Andrée2014-05-181-187/+172
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* reduce code complexityMattias Andrée2014-05-181-349/+268
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix memleak on failureMattias Andrée2014-05-181-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m whitespaceMattias Andrée2014-05-181-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* do not duplicate interception condition string before it is necessaryMattias Andrée2014-05-181-6/+7
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2014-05-181-1/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* use memchr rather than strchrnul, the payload is not NUL-terminatedMattias Andrée2014-05-181-3/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix length of multicast messagesMattias Andrée2014-05-181-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* Fix memory leak on terminationMattias Andrée2014-05-181-5/+15
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* Enable clean terminationMattias Andrée2014-05-181-46/+96
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* ignore Stop-header when adding interceptor because of ID assignmentMattias Andrée2014-05-171-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix memory errorsMattias Andrée2014-05-161-110/+109
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-05-161-1/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + fix message sendingMattias Andrée2014-05-151-2/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* Do not echo back messages to the senderMattias Andrée2014-05-141-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix dumb-client and memory errorsMattias Andrée2014-05-141-3/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix bugsMattias Andrée2014-05-141-9/+15
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m fixMattias Andrée2014-05-121-12/+16
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + fix errors in mds.cMattias Andrée2014-05-121-0/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-05-111-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>