cachedump.c (266114) | cachedump.c (276605) |
---|---|
1/* 2 * daemon/cachedump.c - dump the cache to text format. 3 * 4 * Copyright (c) 2008, NLnet Labs. All rights reserved. 5 * 6 * This software is open source. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 650 unchanged lines hidden (view full) --- 659 &go_on)) { 660 return 0; 661 } 662 } 663 664 if(!go_on) 665 return 1; /* skip this one, not all references satisfied */ 666 | 1/* 2 * daemon/cachedump.c - dump the cache to text format. 3 * 4 * Copyright (c) 2008, NLnet Labs. All rights reserved. 5 * 6 * This software is open source. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 650 unchanged lines hidden (view full) --- 659 &go_on)) { 660 return 0; 661 } 662 } 663 664 if(!go_on) 665 return 1; /* skip this one, not all references satisfied */ 666 |
667 if(!dns_cache_store(&worker->env, &qinf, &rep, 0, 0, 0, NULL)) { | 667 if(!dns_cache_store(&worker->env, &qinf, &rep, 0, 0, 0, NULL, flags)) { |
668 log_warn("error out of memory"); 669 return 0; 670 } 671 return 1; 672} 673 674/** load msg cache */ 675static int --- 211 unchanged lines hidden --- | 668 log_warn("error out of memory"); 669 return 0; 670 } 671 return 1; 672} 673 674/** load msg cache */ 675static int --- 211 unchanged lines hidden --- |