Returns now GNUNET_SYSERR
[oweals/gnunet.git] / src / util / os_installation.c
index ce8d0aac79405baca4ae4e32f0e3ca37769a3e15..cbbc614334bf38762fffdf4c0386d83d7673d746 100644 (file)
@@ -209,7 +209,7 @@ get_path_from_PATH ()
   buf = GNUNET_malloc (strlen (path) + 20);
   pos = path;
 
-  while (NULL != (end = strchr (pos, ':')))
+  while (NULL != (end = strchr (pos, PATH_SEPARATOR)))
     {
       *end = '\0';
       sprintf (buf, "%s/%s", pos, "gnunet-arm");