Changeset 34 for trunk/src/sh_utmp.c


Ignore:
Timestamp:
May 19, 2006, 8:09:51 PM (18 years ago)
Author:
rainer
Message:

Code cleanup and minor fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_utmp.c

    r30 r34  
    440440  memcpy (&c, &bar[2], 1);
    441441  memcpy (&d, &bar[3], 1);
    442   sprintf(foo, "%d.%d.%d.%d",                          /* known to fit  */
     442  sprintf(foo, _("%d.%d.%d.%d"),                        /* known to fit  */
    443443          (int) a, (int) b, (int) c, (int) d);
    444444  return foo;
     
    10641064                      ))
    10651065      sh_utmp_addlogin (ut);
    1066     /*************************************************
    1067     printf("%8s | %10s | %10s | %3d %5d | %16s | %ld\n",
    1068            ut->ut_name, ut->ut_id, ut->ut_line,
    1069            (int) ut->ut_type, (int) ut->ut_pid,
    1070            ut->ut_host, ut->ut_time);
    1071     ***************************************************/
    10721066    ++this_read;
    10731067  }
Note: See TracChangeset for help on using the changeset viewer.