Index: modules/comment/comment.admin.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment/comment.admin.inc,v
retrieving revision 1.26
diff -u -p -r1.26 comment.admin.inc
--- modules/comment/comment.admin.inc	1 Jul 2009 20:39:20 -0000	1.26
+++ modules/comment/comment.admin.inc	9 Jul 2009 18:42:52 -0000
@@ -72,7 +72,7 @@ function comment_admin_overview($type = 
   $query->addField('u', 'name', 'registered_name');
   $query->addField('n', 'title', 'node_title');
   $result = $query
-    ->fields('c', array('subject', 'nid', 'cid', 'comment', 'timestamp', 'status', 'name', 'homepage'))
+    ->fields('c', array('subject', 'nid', 'cid', 'comment', 'timestamp', 'status', 'name', 'homepage', 'hostname'))
     ->fields('u', array('uid'))
     ->condition('c.status', $status)
     ->limit(50)
Index: modules/comment/comment.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment/comment.module,v
retrieving revision 1.739
diff -u -p -r1.739 comment.module
--- modules/comment/comment.module	7 Jul 2009 13:53:25 -0000	1.739
+++ modules/comment/comment.module	9 Jul 2009 18:43:01 -0000
@@ -1127,7 +1127,7 @@ function comment_render($node, $cid = 0)
       $query->addField('u', 'name', 'registered_name');
       $query->innerJoin('users', 'u', 'c.uid = u.uid');
       $query
-        ->fields('c', array('cid', 'nid', 'pid', 'comment', 'subject', 'format', 'timestamp', 'name', 'mail', 'homepage', 'status'))
+        ->fields('c', array('cid', 'nid', 'pid', 'comment', 'subject', 'format', 'timestamp', 'name', 'mail', 'homepage', 'status', 'hostname'))
         ->fields('u', array( 'uid', 'signature', 'picture', 'data', 'status'))
         ->condition('c.cid', $cid);
 
@@ -1155,7 +1155,7 @@ function comment_render($node, $cid = 0)
       $query->join('users', 'u', 'c.uid = u.uid');
       $query->addField('u', 'name', 'registered_name');
       $query
-        ->fields('c', array('cid', 'pid', 'nid', 'subject', 'comment', 'format', 'timestamp', 'name', 'mail', 'homepage', 'thread', 'status'))
+        ->fields('c', array('cid', 'pid', 'nid', 'subject', 'comment', 'format', 'timestamp', 'name', 'mail', 'homepage', 'thread', 'status', 'hostname'))
         ->fields('u', array('uid', 'signature', 'picture', 'data'))
         ->condition('c.nid', $nid)
         ->addTag('node_access')
@@ -1912,6 +1912,7 @@ function template_preprocess_comment(&$v
   $comment = $variables['comment'];
   $node = $variables['node'];
   $variables['author']    = theme('username', $comment);
+  $variables['hostname']  = $comment->hostname;
   $variables['content']   = $comment->comment;
   $variables['date']      = format_date($comment->timestamp);
   $variables['links']     = isset($variables['links']) ? theme('links', $variables['links']) : '';
