summaryrefslogtreecommitdiffstats
path: root/common/rfb/ListConnInfo.h
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2009-09-04 10:57:20 +0000
committerAdam Tkac <atkac@redhat.com>2009-09-04 10:57:20 +0000
commitd36b626bbb7b90306d3d93a5b82fd117fe8ec15f (patch)
treea535fbe60d92182b93c8a5f3a1f4e5d811c3a8a8 /common/rfb/ListConnInfo.h
parent97abe8a548ff9ca940d568128b21813b8a253872 (diff)
downloadtigervnc-d36b626bbb7b90306d3d93a5b82fd117fe8ec15f.tar.gz
tigervnc-d36b626bbb7b90306d3d93a5b82fd117fe8ec15f.zip
Revert previous commit (r3889). Windows code has to be cleaned before this
change. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3890 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/ListConnInfo.h')
-rw-r--r--common/rfb/ListConnInfo.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/common/rfb/ListConnInfo.h b/common/rfb/ListConnInfo.h
index 6e4eacc5..cabcbc79 100644
--- a/common/rfb/ListConnInfo.h
+++ b/common/rfb/ListConnInfo.h
@@ -52,8 +52,8 @@ namespace rfb {
void addInfo(void* Conn, char* IP, char* Time, int Status) {
conn.push_back(Conn);
- IP_address.push_back(safe_strdup(IP));
- time_conn.push_back(safe_strdup(Time));
+ IP_address.push_back(strDup(IP));
+ time_conn.push_back(strDup(Time));
status.push_back(Status);
}
@@ -62,16 +62,16 @@ namespace rfb {
buf[1] = *ti;
switch (*si) {
case 0:
- buf[2] = safe_strdup("Full control");
+ buf[2] = strDup("Full control");
break;
case 1:
- buf[2] = safe_strdup("View only");
+ buf[2] = strDup("View only");
break;
case 2:
- buf[2] = safe_strdup("Stop updating");
+ buf[2] = strDup("Stop updating");
break;
default:
- buf[2] = safe_strdup("Unknown");
+ buf[2] = strDup("Unknown");
}
}