changeset: 106:8002f61789f4
user: sqweek <sqweek_AT_gmail.com>
date: Sat Sep 20 22:53:26 2008 +0800
files: examples/ixpsrv.c
description:
Fix order of debug message so we don't dereference a random pointer.
diff -r 4d802c927f36 -r 8002f61789f4 examples/ixpsrv.c
--- a/examples/ixpsrv.c Sat Sep 20 22:51:02 2008 +0800
+++ b/examples/ixpsrv.c Sat Sep 20 22:53:26 2008 +0800
@@ -250,10 +250,9 @@
FidAux *f;
int size;
+ f = r->fid->aux;
debug("fs_stat(%p)\n", r);
debug("fs_stat %s\n", f->name);
-
- f = r->fid->aux;
name = f->name;
if (stat(name, &st) < 0){
Received on Sun Sep 21 2008 - 03:40:56 UTC
This archive was generated by hypermail 2.2.0 : Sun Sep 21 2008 - 03:48:05 UTC