Changeset 667a1b6


Ignore:
Timestamp:
Dec 31, 2004, 7:11:43 PM (20 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
7e6d1fd
Parents:
8232149
Message:
Don't crash doing zlocate with bad/no tickets [BZ 12]
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r8232149 r667a1b6  
    11$Id$
     2
     32.1.11
     4        Don't crash doing zlocate with bad tickets. [BZ 12]
    25
    362.1.10
  • owl.h

    r8232149 r667a1b6  
    6060static const char owl_h_fileIdent[] = "$Id$";
    6161
    62 #define OWL_VERSION         2.1.10
    63 #define OWL_VERSION_STRING "2.1.10"
     62#define OWL_VERSION         2.1.11-pre-1
     63#define OWL_VERSION_STRING "2.1.11-pre-1"
    6464
    6565/* Feature that is being tested to redirect stderr through a pipe.
  • zephyr.c

    r74037d9 r667a1b6  
    583583  ret=ZLocateUser(user,&numlocs,auth?ZAUTH:ZNOAUTH);
    584584  if (ret != ZERR_NONE) {
    585     owl_function_error("Error locating user %s", user);
     585    sprintf(out, "Error locating user %s\n", user);
     586    return;
    586587  }
    587588
     
    596597    ZGetLocations(&locations,&one);
    597598    myuser=short_zuser(user);
    598     sprintf(out, "%s%s: %s\t%s\t%s\n", out, myuser, locations.host, locations.tty, locations.time);
     599    sprintf(out, "%s%s: %s\t%s\t%s\n", out, myuser,
     600            locations.host ? locations.host : "?",
     601            locations.tty ? locations.tty : "?",
     602            locations.time ? locations.time : "?");
    599603    owl_free(myuser);
    600604  }
Note: See TracChangeset for help on using the changeset viewer.