fixed error on compilation WITH_DEBUG_RDP ON that was raising due to wrong variable in debug statement.

The purpose of this pull request is to remove the error popping up while compiling the source on linux WITH_DEBUG_RDP=ON.