shlist

share and manage lists between multiple people
Log | Files | Refs

commit db79855dcc15f3c58595349630e8b29508af58cb
parent dda07450fe8c0d542f1d68e33aaba84a2b58e2da
Author: kyle <kyle@getaddrinfo.net>
Date:   Fri, 18 Sep 2015 21:53:05 -0400

sl: don't print warning messages twice

Diffstat:
Msl | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/sl b/sl @@ -421,8 +421,6 @@ sub msg_list_request # check if the device id is valid if (device_id_invalid($msg, $addr)) { - # XXX: i don't think $msg is null terminated - print "warn: device id $msg invalid\n"; close $new_sock; return; } @@ -488,7 +486,6 @@ sub msg_list_items_request my ($device_id, $list_id) = split("\0", $msg); if (device_id_invalid($device_id, $addr)) { - print "warn: $addr: device id $device_id invalid\n"; close $new_sock; return; }