]> git.tuebingen.mpg.de Git - paraslash.git/commit
server: Simplify afs socket cookie code.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 31 Dec 2017 15:27:25 +0000 (16:27 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 11 Feb 2018 10:28:17 +0000 (11:28 +0100)
commita35c113e0bb9fa9ac02b77eb01dd32f49cd5c8d0
tree08f59bea50ae3dda2be1ea8e6a7ae26d32733ab2
parentcdadcb0750434d4d13e4714ec987c7e9e90fb119
server: Simplify afs socket cookie code.

Currently, the afs_socket_cookie value is passed to afs_init() and
is stored in the commmand task structure of the afs process. This
is unnecessary since the variable defined in server.c is non-static,
and declared as extern in afs.c. We may thus refer to this variable
from afs.c.

The variable was also documented twice. Get rid of one comment.
afs.c
afs.h
server.c