Netdata-installer warning removed (#6715)
* compile_plugin: Set null There was a warning when I was compiling Netdata with netdata-installer.sh, this commit removes this warning * Add missing spaces
thiagoftsm committed
Aug 28, 2019 at 14:51 UTC
a323fd7a97e541fd7401d3aa2234a9f6fa2fe3fd
1 file changed
+1
-1
collectors/plugins.d/plugins_d.c
+1
-1
@@ -249,7 +249,7 @@ inline size_t pluginsd_process(RRDHOST *host, struct plugind *cd, FILE *fp, int
249
#ifdef ENABLE_HTTPS
250
int bytesleft = 0;
251
char tmpbuffer[PLUGINSD_LINE_MAX];
252
- char *readfrom;
252
+ char *readfrom = NULL;
253
#endif
254
char *r = NULL;
255
while(!ferror(fp)) {