Changeset 789462a


Ignore:
Timestamp:
Apr 10, 2004, 8:01:56 PM (21 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:
f5729b7
Parents:
405d5e6
Message:
Do ntohs() when printing zephyr port in zephyr info
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r405d5e6 r789462a  
    55        Handle MIT Athena OLC zephyrs correctly
    66        Updated ktools website / bug address
     7        Do ntohs() when printing zephyr port in zephyr info
    78       
    892.1.6
  • functions.c

    r5e0b690 r789462a  
    33#include <unistd.h>
    44#include <signal.h>
     5#include <netinet/in.h>
    56#include <string.h>
    67#include <time.h>
     
    15581559      if (!owl_message_is_pseudo(m)) {
    15591560        owl_fmtext_append_normal(&fm, "\n");
    1560         sprintf(buff, "  Port      : %i\n", n->z_port);
     1561        sprintf(buff, "  Port      : %i\n", ntohs(n->z_port));
    15611562        owl_fmtext_append_normal(&fm, buff);
    15621563
  • stylefunc.c

    r5a95b69 r789462a  
    580580{
    581581#ifdef HAVE_LIBZEPHYR
    582   char *body, *indent, *ptr, *zsigbuff, frombuff[LINE];
     582  char *body, *indent, *ptr, frombuff[LINE];
    583583  owl_fmtext fm_first, fm_other, fm_tmp;
    584584  ZNotice_t *n;
Note: See TracChangeset for help on using the changeset viewer.