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 611 by douglas, 2005-12-05T01:26: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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines