X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/a1557c4c2f3905fd760dbac16cba5be890948634..b37235637f040dc1186c4a0a1bbf36e4c3788df7:/client/graph.c diff --git a/client/graph.c b/client/graph.c index 0f998fe1..95050f55 100644 --- a/client/graph.c +++ b/client/graph.c @@ -66,7 +66,7 @@ void setGraphBuf(uint8_t *buff, size_t size) } size_t getFromGraphBuf(uint8_t *buff) { - if ( buff == NULL ) return -1; + if ( buff == NULL ) return 0; uint32_t i; for (i=0;i