diff options
| -rw-r--r-- | src/libirecovery.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libirecovery.c b/src/libirecovery.c index 99143cb..f66eff7 100644 --- a/src/libirecovery.c +++ b/src/libirecovery.c | |||
| @@ -306,13 +306,12 @@ static void irecv_copy_nonce_with_tag(irecv_client_t client, const char* tag, un | |||
| 306 | *nonce_size = 0; | 306 | *nonce_size = 0; |
| 307 | 307 | ||
| 308 | len = irecv_get_string_descriptor_ascii(client, 1, (unsigned char*) buf, 255); | 308 | len = irecv_get_string_descriptor_ascii(client, 1, (unsigned char*) buf, 255); |
| 309 | debug("%s: got length: %d\n", __func__, len); | ||
| 310 | if (len < 0) { | 309 | if (len < 0) { |
| 310 | debug("%s: got length: %d\n", __func__, len); | ||
| 311 | return; | 311 | return; |
| 312 | } | 312 | } |
| 313 | 313 | ||
| 314 | buf[len] = 0; | 314 | buf[len] = 0; |
| 315 | debug("%s: buf='%s' tag='%s'\n", __func__, buf, tag); | ||
| 316 | 315 | ||
| 317 | int taglen = strlen(tag); | 316 | int taglen = strlen(tag); |
| 318 | int nlen = 0; | 317 | int nlen = 0; |
