Parcourir la source

Bugfix by Jürgen Weigert

Sergey Poznyakoff il y a 21 ans
Parent
commit
f5461e304c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/rmt.h

+ 1 - 1
src/rmt.h

@@ -34,7 +34,7 @@ int rmt_ioctl__ (int, int, char *);
 
 #define _remdev(Path) \
   (!force_local_option && (rmt_path__ = strchr (Path, ':')) \
-   && rmt_path__ > (Path) && ! memchr (Path, rmt_path__ - (Path), '/'))
+   && rmt_path__ > (Path) && ! memchr (Path, '/', rmt_path__ - (Path)))
 
 #define _isrmt(Fd) \
   ((Fd) >= __REM_BIAS)