Zero out some fields to avoid random crashes in "cmdebug host -cache".

This commit is contained in:
Nickolai Zeldovich 2002-05-21 07:37:53 +00:00
parent c5222d45ec
commit 9a1af10848

View File

@ -38,6 +38,7 @@ static PrintCacheConfig(aconn)
int code;
c.cacheConfig_len = 0;
c.cacheConfig_val = NULL;
code = RXAFSCB_GetCacheConfig(aconn, 1, &srv_ver, &conflen, &c);
if (code) {
printf("cmdebug: error checking cache config: %s\n",