Changeset 370 for branches/samba-3.3.x/source/libads/krb5_setpw.c
- Timestamp:
- Jan 15, 2010, 8:23:30 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/libads/krb5_setpw.c
r206 r370 20 20 21 21 #include "includes.h" 22 #include "smb_krb5.h" 22 23 23 24 #ifdef HAVE_KRB5 … … 286 287 } 287 288 288 p = packet->data;289 p = (char *)packet->data; 289 290 /* 290 291 ** see if it is an error … … 369 370 } 370 371 371 p = clearresult.data;372 p = (char *)clearresult.data; 372 373 373 374 res_code = RSVAL(p, 0); … … 694 695 if (prompts[0].reply->length > 0) { 695 696 if (data) { 696 strncpy( prompts[0].reply->data,697 strncpy((char *)prompts[0].reply->data, 697 698 (const char *)data, 698 699 prompts[0].reply->length-1); 699 prompts[0].reply->length = strlen( prompts[0].reply->data);700 prompts[0].reply->length = strlen((const char *)prompts[0].reply->data); 700 701 } else { 701 702 prompts[0].reply->length = 0;
Note:
See TracChangeset
for help on using the changeset viewer.