<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -101,19 +101,19 @@ if ((substr($uri, 0,7) == &quot;http://&quot;) || (substr($uri, 0,8) == &quot;https://&quot;)) {
 	if (isset($_GET['filename'])){
 	  if ($_GET['filename'] != ''){ $logfile = $_GET['filename']; }
 	} else { 
-	  # look for the fullname so we can name the vcard
-	  preg_match_all( '/FN.*?:(.*)/i', $Str, &amp;$matches);
-  	# we will get the matched line and all matches for our requested parameter
-  	# if we get more than 1 name we've got a group of vcards so name the file
-  	# after the domain.
-  	if ( count($matches[1]) &gt; 2 ) {
-  	  $logfile = parse_url($uri);
-  	  $logfile = str_replace( '.', '-', $logfile['host'] );
-  	# else try and get the fn name
-  	} elseif ( ! $logfile = @trim($matches[1][0]) ) {
-  	  # failsafe x2v filename
-  	  $logfile = &quot;X2V&quot;;
-  	}
+    # look for the fullname so we can name the vcard
+    preg_match_all( '/FN.*?:(.*)/i', $Str, &amp;$matches);
+    # we will get the matched line and all matches for our requested parameter
+    # if we get more than 1 name we've got a group of vcards so name the file
+    # after the domain.
+    if ( count($matches[1]) &gt; 2 ) {
+      $logfile = parse_url($uri);
+      $logfile = str_replace( '.', '-', $logfile['host'] );
+    # else try and get the fn name
+    } elseif ( ! $logfile = @trim($matches[1][0]) ) {
+      # failsafe x2v filename
+      $logfile = &quot;X2V&quot;;
+    }
   }
 
   # get the filename encoding correct</diff>
      <filename>get-contact-named-vcf.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2aa33d0bf7e318caf2bdad6d3ce85e47fcd83712</id>
    </parent>
  </parents>
  <author>
    <name>Matt</name>
    <email>matt@themattharris.com</email>
  </author>
  <url>http://github.com/themattharris/x2v/commit/c4efec817be9aa175564bf6f0961c188f746e0f9</url>
  <id>c4efec817be9aa175564bf6f0961c188f746e0f9</id>
  <committed-date>2009-10-29T17:12:17-07:00</committed-date>
  <authored-date>2009-10-29T17:12:17-07:00</authored-date>
  <message>Formatting fixes</message>
  <tree>7c2e16505b7acb45837157cf486270194b86b78d</tree>
  <committer>
    <name>Matt</name>
    <email>matt@themattharris.com</email>
  </committer>
</commit>
