summaryrefslogtreecommitdiff
path: root/hw/dmx
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-08-15 14:14:45 -0400
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-08-16 10:33:58 -0400
commit568ae737d1d5d476a0bf85659d88910c4e0ef5e0 (patch)
tree9d90a248b139d469ba6decf302f994bc4bd10a70 /hw/dmx
parent3c9553ac2cac7f3a41966def44a50d722d7e645b (diff)
xace: add hooks + new access codes: core protocol server requests
Diffstat (limited to 'hw/dmx')
-rw-r--r--hw/dmx/dmxfont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/dmx/dmxfont.c b/hw/dmx/dmxfont.c
index 500b5682a..e5f86350a 100644
--- a/hw/dmx/dmxfont.c
+++ b/hw/dmx/dmxfont.c
@@ -66,7 +66,7 @@ static char **dmxGetFontPath(int *npaths)
char *newfp;
int len, l, i;
- paths = GetFontPath(npaths, &len);
+ GetFontPath(serverClient, npaths, &len, &paths);
newfp = xalloc(*npaths + len);
c = (unsigned char *)newfp;
@@ -194,7 +194,7 @@ static int dmxProcSetFontPath(ClientPtr client)
if (total >= 4)
return BadLength;
- tmpFontPath = GetFontPath(&nOldPaths, &lenOldPaths);
+ GetFontPath(serverClient, &nOldPaths, &lenOldPaths, &tmpFontPath);
oldFontPath = xalloc(nOldPaths + lenOldPaths);
memmove(oldFontPath, tmpFontPath, nOldPaths + lenOldPaths);