chiark
/
gitweb
/
~ian
/
innduct.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace x[v]asprintf with m[v]asprintf; libinn2 has one now
[innduct.git]
/
infile.c
diff --git
a/infile.c
b/infile.c
index 73e291b839dcc6b1c82e809d00e602ed956a8465..b8e01bcfc6f6ad200a19741f70bcfa14a2f7dd1a 100644
(file)
--- a/
infile.c
+++ b/
infile.c
@@
-327,12
+327,12
@@
void filepoll(void) {
}
char *dbg_report_ipf(InputFile *ipf) {
}
char *dbg_report_ipf(InputFile *ipf) {
- if (!ipf) return
x
asprintf("none");
+ if (!ipf) return
m
asprintf("none");
const char *slash= strrchr(ipf->path,'/');
const char *path= slash ? slash+1 : ipf->path;
const char *slash= strrchr(ipf->path,'/');
const char *path= slash ? slash+1 : ipf->path;
- return
x
asprintf("%p/%s:queue=%d,ip=%ld,autodef=%ld,off=%ld,fd=%d%s%s%s",
+ return
m
asprintf("%p/%s:queue=%d,ip=%ld,autodef=%ld,off=%ld,fd=%d%s%s%s",
ipf, path,
ipf->queue.count, ipf->inprogress, ipf->autodefer,
(long)ipf->offset, ipf->fd,
ipf, path,
ipf->queue.count, ipf->inprogress, ipf->autodefer,
(long)ipf->offset, ipf->fd,