~ubuntu-branches/ubuntu/vivid/dropbear/vivid

« back to all changes in this revision

Viewing changes to svr-session.c

  • Committer: Package Import Robot
  • Author(s): Gerrit Pape
  • Date: 2011-11-16 12:36:03 UTC
  • mfrom: (1.4.4)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: package-import@ubuntu.com-20111116123603-qkpk0p5e3gegporw
ImportĀ upstreamĀ versionĀ 2011.54

Show diffs side-by-side

added added

removed removed

Lines of Context:
205
205
                local_tm = localtime(&timesec);
206
206
                if (local_tm == NULL
207
207
                        || strftime(datestr, sizeof(datestr), "%b %d %H:%M:%S", 
208
 
                                                localtime(&timesec)) == 0)
 
208
                                                local_tm) == 0)
209
209
                {
210
210
                        /* upon failure, just print the epoch-seconds time. */
211
211
                        snprintf(datestr, sizeof(datestr), "%d", (int)timesec);