diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-08-18 22:44:57 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-08-18 22:44:57 +0200 |
commit | c9c7cbb67c8a3cff9241bee1e1b1902be4e0a799 (patch) | |
tree | d2c40a735217fc6fdc511578916d019066f2c4b9 /src/log.c | |
parent | d39193123e57fe38532f8c3ab3029acf1e45ae92 (diff) | |
download | fastd-c9c7cbb67c8a3cff9241bee1e1b1902be4e0a799.tar fastd-c9c7cbb67c8a3cff9241bee1e1b1902be4e0a799.zip |
Remove a few now unneeded peer->config NULL checks
Diffstat (limited to 'src/log.c')
-rw-r--r-- | src/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -93,7 +93,7 @@ static size_t snprint_peer_address(char *buffer, size_t size, const fastd_peer_a /** Creates a string representation of a peer */ static size_t snprint_peer_str(char *buffer, size_t size, const fastd_peer_t *peer) { - if (peer->config && peer->config->name) { + if (peer->config->name) { return snprintf_safe(buffer, size, "<%s>", peer->config->name); } else { |