Changeset 370 for branches/samba-3.3.x/source/libads/kerberos.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/kerberos.c
r223 r370 23 23 24 24 #include "includes.h" 25 #include "smb_krb5.h" 25 26 26 27 #ifdef HAVE_KRB5 … … 47 48 if (prompts[0].reply->length > 0) { 48 49 if (data) { 49 strncpy( prompts[0].reply->data, (const char *)data,50 strncpy((char *)prompts[0].reply->data, (const char *)data, 50 51 prompts[0].reply->length-1); 51 prompts[0].reply->length = strlen( prompts[0].reply->data);52 prompts[0].reply->length = strlen((const char *)prompts[0].reply->data); 52 53 } else { 53 54 prompts[0].reply->length = 0;
Note:
See TracChangeset
for help on using the changeset viewer.