Removed function k_strerror, strerror is replaced in libroken.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@524 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -65,7 +65,7 @@ int krb4_adat(char *auth)
|
||||
len = krb_mk_safe(&cs, msg, sizeof(cs), &auth_dat.session,
|
||||
&ctrl_addr, &his_addr);
|
||||
if(len < 0){
|
||||
reply(535, "Error creating reply: %s.", k_strerror(errno));
|
||||
reply(535, "Error creating reply: %s.", strerror(errno));
|
||||
return -1;
|
||||
}
|
||||
base64_encode(msg, len, &p);
|
||||
@@ -258,7 +258,7 @@ int krb4_write(int fd, void *data, int length)
|
||||
&auth_dat.session,
|
||||
&ctrl_addr, &his_addr);
|
||||
if(bytes == -1){
|
||||
reply(535, "Failed to make packet: %s.", k_strerror(errno));
|
||||
reply(535, "Failed to make packet: %s.", strerror(errno));
|
||||
return -1;
|
||||
}
|
||||
data_buffer[0] = (bytes >> 24) & 0xff;
|
||||
|
Reference in New Issue
Block a user