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

Comparing CCSFinger/CCSFinger.cpp (file contents):
Revision 610 by douglas, 2005-12-05T01:05:13-08:00 vs.
Revision 612 by douglas, 2005-12-05T02:32:27-08:00

# Line 46 | Line 46 | public:
46  
47                          WTSQuerySessionInformation(WTS_CURRENT_SERVER_HANDLE, session->SessionId, WTSUserName, &name, &size);
48  
49 <                        stream << Utf8(name) << "\r\n";
49 >                        std::string name_(Utf8(name));
50 >
51 >                        if (!name_.empty())
52 >                                stream << name_ << "\r\n";
53  
54                          WTSFreeMemory(name);
55  
# Line 60 | Line 63 | public:
63  
64          Finger(const std::string &name)
65          {
66 +                //NetQueryDisplayInformation
67 +                //NetUserGetInfo
68          }
69  
70          inline operator std::string()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines