diff --git a/client/graph.c b/client/graph.c index 269c2dd98..94d6054fe 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