diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2017-09-11 10:56:26 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2017-09-20 12:47:05 +0200 |
commit | e1d35ffdaa4147b18ab22a1acc70762c9434a2d7 (patch) | |
tree | 91bb01f06210f3a041eaebd365e85b2edee0c1b9 /device.cc | |
parent | 74c547e08220a55878de74d7c304c3a5cee33b11 (diff) | |
download | libnitrokey-e1d35ffdaa4147b18ab22a1acc70762c9434a2d7.tar.gz libnitrokey-e1d35ffdaa4147b18ab22a1acc70762c9434a2d7.tar.bz2 |
Log formatting: Enumerate from 1
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'device.cc')
-rw-r--r-- | device.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -93,7 +93,7 @@ int Device::send(const void *packet) { mp_devhandle, (const unsigned char *)(packet), HID_REPORT_SIZE); if (send_feature_report < 0) _reconnect(); //add thread sleep? - LOG(std::string("Sending attempt: ")+std::to_string(i) + " / 3" , Loglevel::DEBUG_L2); + LOG(std::string("Sending attempt: ")+std::to_string(i+1) + " / 3" , Loglevel::DEBUG_L2); } return send_feature_report; } |