/**********************************************************************
 * File Exchange client library
 *
 * $Author: probe $
 * $Source: /afs/sipb.mit.edu/project/sipb-athena/repository/src/neos/lib/_fx_unshorten.c,v $
 * $Header: /afs/sipb.mit.edu/project/sipb-athena/repository/src/neos/lib/_fx_unshorten.c,v 1.1 1993/10/12 03:03:28 probe Exp $
 *
 * Copyright 1989, 1990 by the Massachusetts Institute of Technology.
 *
 * For copying and distribution information, please see the file
 * <mit-copyright.h>.
 **********************************************************************/

#include <mit-copyright.h>

#ifndef lint
static char rcsid__fx_unshorten_c[] = "$Header: /afs/sipb.mit.edu/project/sipb-athena/repository/src/neos/lib/_fx_unshorten.c,v 1.1 1993/10/12 03:03:28 probe Exp $";
#endif /* lint */

#include <strings.h>
#include "fxcl.h"

/*
 * _fx_unshorten -- restore kerberos realm removed by _fx_shorten
 */

void
_fx_unshorten(shortened_name)
     char *shortened_name;
{
  if (!index(shortened_name, '@'))
    shortened_name[strlen(shortened_name)] = '@';
}
