ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/SambaTest/SambaTest.cpp
(Generate patch)

Comparing SambaTest/SambaTest.cpp (file contents):
Revision 410 by douglas, 2005-01-14T19:36:51-08:00 vs.
Revision 419 by douglas, 2005-03-04T18:02:25-08:00

# 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  

Comparing SambaTest/SambaTest.cpp (property svn:keywords):
Revision 410 by douglas, 2005-01-14T19:36:51-08:00 vs.
Revision 419 by douglas, 2005-03-04T18:02:25-08:00

# Line 0 | Line 1
1 + Id

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines