diff options
author | FreeArtMan <dos21h@gmail.com> | 2017-09-06 00:03:39 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2017-09-06 00:03:39 +0100 |
commit | 9cea7b90fb34deff24ba49694963cc98e3e05e49 (patch) | |
tree | 536bd14d9c65045478cf98be7058d607a8a57f23 /netbytes.c | |
parent | 36d47490cd3fedffcfcf91f614842fe0c113b1ca (diff) | |
download | netbytes-9cea7b90fb34deff24ba49694963cc98e3e05e49.tar.gz netbytes-9cea7b90fb34deff24ba49694963cc98e3e05e49.zip |
Netbyte rpc example lib
Diffstat (limited to 'netbytes.c')
-rw-r--r-- | netbytes.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -651,7 +651,9 @@ int nb_load( netbyte_store *store, uint8_t *data ) break; } default: - printf("Unknown type"); + printf("Unknown type\n"); + //FIX non freed structures, if this happends in middle of transfer + return -1; } if ( c >= data + size ) { |