Explorar el Código

Bugfix by Jürgen Weigert

Sergey Poznyakoff hace 21 años
padre
commit
f5461e304c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)