From: michael Date: Sun, 2 Jul 2006 10:47:52 +0000 (+0000) Subject: clear buffer X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/record-dvb/commitdiff_plain/dacdaa20393daa4f49e9e2b5ddced3d6c2206555?hp=647c7747f9b9c0776fd4e12ef55d11e24b3495cb clear buffer --- diff --git a/sap.c b/sap.c index 232c0c3..64f1437 100644 --- a/sap.c +++ b/sap.c @@ -63,6 +63,7 @@ char *get_url_from_sap(char *service) continue; } + bzero(buffer, BUFFSIZE); if ((recvd = recv(fd, buffer, BUFFSIZE, 0)) < 1) { perror("recv"); return NULL;