chiark / gitweb /
server/admin.c, server/tripe-admin.5.in: Fix PEERINFO segfault.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 15 Dec 2012 13:40:57 +0000 (13:40 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 15 Dec 2012 14:13:05 +0000 (14:13 +0000)
commitf3c6d21c3e8d8b1cf6fe1780cb45a0177b23c5b6
treee21de146c13c0d706c2306c710c7d88141c990c2
parent7f81b1b4496591f4e23da1051c0c15229e8cb1db
server/admin.c, server/tripe-admin.5.in: Fix PEERINFO segfault.

It's allowed for p_privtag to return null, so just trying to print it is
a bad idea.  This introduces a protocol change, since there is no single
tag chosen in the absence of `-priv' or `-t' options -- instead, there's
a search list; this is represented with the special tag `(default)'.
server/admin.c
server/tripe-admin.5.in