# | Line 7 | Line 7 | |
---|---|---|
7 | #include "Mounter.h" | |
8 | ||
9 | #ifdef _FreeBSD_ | |
10 | – | #include <cctype> |
10 | #include <fcntl.h> | |
12 | – | |
13 | – | inline string toupper(const string& lower) |
14 | – | { |
15 | – | string upper; |
16 | – | |
17 | – | for (unsigned index = 0; index < lower.length(); index++) |
18 | – | { |
19 | – | upper += toupper(lower[index]); |
20 | – | } |
21 | – | |
22 | – | return upper; |
23 | – | } |
11 | #endif | |
12 | ||
13 | void Mounter::mount() | |
14 | { | |
15 | + | if (!good) return; |
16 | + | |
17 | samba(); | |
18 | ||
19 | if (debug) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |