From: Brandon Turner Date: Thu, 25 Aug 2005 22:09:10 +0000 (+0000) Subject: Don't dereference the pointers. Catch by Thomas. X-Git-Tag: ReactOS-0.2.8~858 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=5509951fc0f01487d407aaa9576fb2f1d27f3d74;ds=sidebyside Don't dereference the pointers. Catch by Thomas. svn path=/trunk/; revision=17548 --- diff --git a/reactos/subsys/system/cmd/redir.c b/reactos/subsys/system/cmd/redir.c index 436297e825d..21848c320b3 100644 --- a/reactos/subsys/system/cmd/redir.c +++ b/reactos/subsys/system/cmd/redir.c @@ -250,8 +250,8 @@ INT GetRedirection (LPTSTR s, LPTSTR ifn, LPTSTR ofn, LPTSTR efn, LPINT lpnFlags { if (*sp == _T('^')) { - *sp++; - *sp++; + sp++; + sp++; continue; } else if ((*sp == _T('"')) || (*sp == _T('\'')))