# | Line 9 | Line 9 | |
---|---|---|
9 | #include <cstdio> | |
10 | #include <cstring> | |
11 | ||
12 | – | extern "C" |
13 | – | { |
12 | #include <errno.h> | |
13 | #include <pwd.h> | |
14 | #include <unistd.h> | |
17 | – | } |
18 | – | |
15 | #include <libsmbclient.h> | |
16 | ||
17 | struct Exception | |
# | Line 46 | Line 42 | extern "C" | |
42 | ||
43 | std::getline(std::cin, line); | |
44 | ||
45 | < | if (!line.empty()) std::snprintf(un, unlen, line.c_str()); |
45 | > | if (!line.empty()) ::snprintf(un, unlen, line.c_str()); |
46 | ||
47 | < | std::snprintf(pw, pwlen, "%s", ::getpass("pw = ")); |
47 | > | ::snprintf(pw, pwlen, "%s", ::getpass("pw = ")); |
48 | } | |
49 | } | |
50 |
# | Line 0 | Line 1 | |
---|---|---|
1 | + | Id |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |