aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--imap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap.c b/imap.c
index 943dc284..3234b3b5 100644
--- a/imap.c
+++ b/imap.c
@@ -160,7 +160,7 @@ static int do_rfc1731(int sock, struct query *ctl, char *buf)
* 32-bit number in network byte order.
*/
- strncpy(srvinst, ctl->server.names->id, (sizeof srvinst)-1);
+ strncpy(srvinst, ctl->server.truename, (sizeof srvinst)-1);
srvinst[(sizeof srvinst)-1] = '\0';
for (p = srvinst; *p; p++) {
if (isupper(*p)) {