forked from github/server
enno needs more sleep fixes
This commit is contained in:
parent
8265c9ea7f
commit
fdc07aa0ea
1 changed files with 3 additions and 2 deletions
|
@ -2145,7 +2145,7 @@ a_readchars(attrib * a, FILE * f)
|
||||||
}
|
}
|
||||||
for (i=0;i!=4;++i) {
|
for (i=0;i!=4;++i) {
|
||||||
int c;
|
int c;
|
||||||
fscanf("%d", &c);
|
fscanf(f, "%d", &c);
|
||||||
a->data.ca[i] = (char)c;
|
a->data.ca[i] = (char)c;
|
||||||
}
|
}
|
||||||
return AT_READ_OK;
|
return AT_READ_OK;
|
||||||
|
@ -2154,9 +2154,10 @@ a_readchars(attrib * a, FILE * f)
|
||||||
void
|
void
|
||||||
a_writechars(const attrib * a, FILE * f)
|
a_writechars(const attrib * a, FILE * f)
|
||||||
{
|
{
|
||||||
|
int i;
|
||||||
for (i=0;i!=4;++i) {
|
for (i=0;i!=4;++i) {
|
||||||
int c = a->data.ca[i];
|
int c = a->data.ca[i];
|
||||||
fprintf("%d ", &c);
|
fprintf(f, "%d ", c);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue