Changeset 221 for branches/samba-3.3.x/source/winbindd/winbindd_cache.c
- Timestamp:
- May 24, 2009, 7:17:10 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/winbindd/winbindd_cache.c
r206 r221 2625 2625 2626 2626 DEBUG(10, ("Storing response for pid %d, len %d\n", 2627 pid, response->length));2628 2629 fstr_sprintf(key_str, "DR/%d", pid);2627 (int)pid, response->length)); 2628 2629 fstr_sprintf(key_str, "DR/%d", (int)pid); 2630 2630 if (tdb_store(wcache->tdb, string_tdb_data(key_str), 2631 2631 make_tdb_data((uint8 *)response, sizeof(*response)), … … 2641 2641 (int)(response->length - sizeof(*response)))); 2642 2642 2643 fstr_sprintf(key_str, "DE/%d", pid);2643 fstr_sprintf(key_str, "DE/%d", (int)pid); 2644 2644 if (tdb_store(wcache->tdb, string_tdb_data(key_str), 2645 2645 make_tdb_data((uint8 *)response->extra_data.data, … … 2651 2651 * contain a main record with wrong dangling extra data */ 2652 2652 2653 fstr_sprintf(key_str, "DR/%d", pid);2653 fstr_sprintf(key_str, "DR/%d", (int)pid); 2654 2654 tdb_delete(wcache->tdb, string_tdb_data(key_str)); 2655 2655 … … 2665 2665 return false; 2666 2666 2667 DEBUG(10, ("Retrieving response for pid %d\n", pid));2668 2669 fstr_sprintf(key_str, "DR/%d", pid);2667 DEBUG(10, ("Retrieving response for pid %d\n", (int)pid)); 2668 2669 fstr_sprintf(key_str, "DR/%d", (int)pid); 2670 2670 data = tdb_fetch(wcache->tdb, string_tdb_data(key_str)); 2671 2671 … … 2689 2689 (int)(response->length - sizeof(*response)))); 2690 2690 2691 fstr_sprintf(key_str, "DE/%d", pid);2691 fstr_sprintf(key_str, "DE/%d", (int)pid); 2692 2692 data = tdb_fetch(wcache->tdb, string_tdb_data(key_str)); 2693 2693 … … 2716 2716 return; 2717 2717 2718 fstr_sprintf(key_str, "DR/%d", pid);2718 fstr_sprintf(key_str, "DR/%d", (int)pid); 2719 2719 tdb_delete(wcache->tdb, string_tdb_data(key_str)); 2720 2720 2721 fstr_sprintf(key_str, "DE/%d", pid);2721 fstr_sprintf(key_str, "DE/%d", (int)pid); 2722 2722 tdb_delete(wcache->tdb, string_tdb_data(key_str)); 2723 2723
Note:
See TracChangeset
for help on using the changeset viewer.