Improve debug printout in FOE_write()

Change-Id: Ib79ca30360f2b1ed5eb86cbc72850c5068e05c54
pull/86/head
Lars Danielsson 2020-09-07 08:46:03 +02:00
parent d970d8eb1e
commit dd21bd3423
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@ void FOE_write ()
/* Get an address we can write the file to, if possible. */
res = FOE_fopen (foembx->filename, data_len, password, FOE_OP_WRQ);
DPRINT("FOE_write\n");
DPRINT("%s %sOK, file \"%s\"\n", __func__, (res == 0) ? "" : "N", foe_file_name);
if (res == 0)
{
res = FOE_send_ack ();