Ignore:
Timestamp:
May 24, 2009, 7:17:10 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update Samba 3.3 to 3.3.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/winbindd/winbindd_cache.c

    r206 r221  
    26252625
    26262626        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);
    26302630        if (tdb_store(wcache->tdb, string_tdb_data(key_str),
    26312631                      make_tdb_data((uint8 *)response, sizeof(*response)),
     
    26412641                   (int)(response->length - sizeof(*response))));
    26422642
    2643         fstr_sprintf(key_str, "DE/%d", pid);
     2643        fstr_sprintf(key_str, "DE/%d", (int)pid);
    26442644        if (tdb_store(wcache->tdb, string_tdb_data(key_str),
    26452645                      make_tdb_data((uint8 *)response->extra_data.data,
     
    26512651         * contain a main record with wrong dangling extra data */
    26522652
    2653         fstr_sprintf(key_str, "DR/%d", pid);
     2653        fstr_sprintf(key_str, "DR/%d", (int)pid);
    26542654        tdb_delete(wcache->tdb, string_tdb_data(key_str));
    26552655
     
    26652665                return false;
    26662666
    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);
    26702670        data = tdb_fetch(wcache->tdb, string_tdb_data(key_str));
    26712671
     
    26892689                   (int)(response->length - sizeof(*response))));
    26902690
    2691         fstr_sprintf(key_str, "DE/%d", pid);
     2691        fstr_sprintf(key_str, "DE/%d", (int)pid);
    26922692        data = tdb_fetch(wcache->tdb, string_tdb_data(key_str));
    26932693
     
    27162716                return;
    27172717
    2718         fstr_sprintf(key_str, "DR/%d", pid);
     2718        fstr_sprintf(key_str, "DR/%d", (int)pid);
    27192719        tdb_delete(wcache->tdb, string_tdb_data(key_str));
    27202720
    2721         fstr_sprintf(key_str, "DE/%d", pid);
     2721        fstr_sprintf(key_str, "DE/%d", (int)pid);
    27222722        tdb_delete(wcache->tdb, string_tdb_data(key_str));
    27232723
Note: See TracChangeset for help on using the changeset viewer.