Skip to content

Commit 8737c64

Browse files
author
Scott Powell
committed
* Packet::copyPath() fix
1 parent b14879c commit 8737c64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Packet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ size_t Packet::writePath(uint8_t* dest, const uint8_t* src, uint8_t path_len) {
3030
}
3131

3232
uint8_t Packet::copyPath(uint8_t* dest, const uint8_t* src, uint8_t path_len) {
33-
if (writePath(dest, src, path_len) == 0) return 0;
33+
writePath(dest, src, path_len);
3434
return path_len;
3535
}
3636

0 commit comments

Comments
 (0)