fix comma at end of enumerator list

Origin commit data
------------------
Branch: ni/coolstream
Commit: a549b97924
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-05-28 (Tue, 28 May 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2013-05-28 15:52:31 +02:00
parent e3044a9f86
commit 75f50de7eb
13 changed files with 27 additions and 32 deletions

View File

@@ -159,16 +159,12 @@ bool CFSMounter::isMounted(const char * const local_dir)
std::ifstream in;
if (local_dir == NULL)
return false;
// according to the man page realpath() sucks, but there's nothing better :(
int path_max = 0;
#ifdef PATH_MAX
path_max = PATH_MAX;
char mount_point[PATH_MAX];
#else
path_max = 4096;
char mount_point[4096];
#endif
char mount_point[path_max];
if (realpath(local_dir, mount_point) == NULL) {
printf("[CFSMounter] could not resolve dir: %s: %s\n",local_dir, strerror(errno));
return false;