]> Savannah Git Hosting - gnulib.git/commit
af_alg: coalesce socket creation
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 9 May 2018 18:16:59 +0000 (11:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 9 May 2018 18:17:37 +0000 (11:17 -0700)
commit9d991bcb7f87358ea86714530c460eb7c36ca74f
tree8615c599a4cbe5e069f18a9920c1f2f3b82f1239
parent3850248fef62204143dfb56bb8442d9f62eafcfe
af_alg: coalesce socket creation

* lib/af_alg.c (alg_socket): New function.
(afalg_buffer, afalg_stream): Use it.  This avoids some
code duplication and gotos.
ChangeLog
lib/af_alg.c