projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baad85a
)
* some quotes here can't hurt.
author
Wilfried Göesgens
<willi@citadel.org>
Thu, 16 Aug 2007 21:38:58 +0000
(21:38 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Thu, 16 Aug 2007 21:38:58 +0000
(21:38 +0000)
citadel/file_ops.c
patch
|
blob
|
history
diff --git
a/citadel/file_ops.c
b/citadel/file_ops.c
index d32e9f829064cb881e7d713bf24c2f974222fb27..30c65067b8df26a23e33dcdd0c938afdb2ddbe07 100644
(file)
--- a/
citadel/file_ops.c
+++ b/
citadel/file_ops.c
@@
-211,7
+211,7
@@
void cmd_movf(char *cmdbuf)
/* this is a crude method of copying the file description */
snprintf(buf, sizeof buf,
- "cat ./files/%s/filedir |grep
%s
>>./files/%s/filedir",
+ "cat ./files/%s/filedir |grep
\"%s\"
>>./files/%s/filedir",
CC->room.QRdirname, filename, qrbuf.QRdirname);
system(buf);
cprintf("%d File '%s' has been moved.\n", CIT_OK, filename);