Changeset 1971b59 for zephyr.c


Ignore:
Timestamp:
Mar 18, 2004, 9:43:40 AM (17 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
f84bca8
Parents:
1bb1e67
Message:
Consistified function format
Put dashes in the version number
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zephyr.c

    r8ba37ec r1971b59  
    848848char *long_zuser(char *in)
    849849{
    850   char *ptr;
    851 
    852   if (NULL != (ptr=strchr(in, '@'))) {
    853     return owl_strdup(in);
    854   } else {
    855     return owl_sprintf("%s@%s", in, owl_zephyr_get_realm());
    856   }
    857 }
    858 
     850  if (strchr(in, '@')) {
     851    return(owl_strdup(in));
     852  }
     853  return(owl_sprintf("%s@%s", in, owl_zephyr_get_realm()));
     854}
    859855
    860856/* strip out the instance from a zsender's principal.  Preserves the
Note: See TracChangeset for help on using the changeset viewer.