IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17800


Ignore:
Timestamp:
May 23, 2008, 4:56:01 PM (18 years ago)
Author:
Paul Price
Message:

"host" is simpler than "hostname".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PS-IPP-Config/lib/PS/IPP/Metadata/Stats.pm

    r17799 r17800  
    11# Copyright (c) 2006  Paul Price, Joshua Hoblitt
    22#
    3 # $Id: Stats.pm,v 1.29 2008-05-24 02:54:09 price Exp $
     3# $Id: Stats.pm,v 1.30 2008-05-24 02:56:01 price Exp $
    44
    55package PS::IPP::Metadata::Stats;
     
    4444    # add a hash for storage
    4545    foreach my $entry (@$entries) {
    46         if ($entry->{type} eq "hostname") {
     46        if ($entry->{type} eq "host") {
    4747            $entry->{value} = hostname();
    4848            next;
     
    9595        my $data = $entry->{data};
    9696
    97         if ($entry->{type} eq "hostname") {
     97        if ($entry->{type} eq "host") {
    9898            # Dealt with in new()
    9999            next;
Note: See TracChangeset for help on using the changeset viewer.