/* $Header$
*
* Utility routines used by the SMS extraction programs.
+ *
+ * (c) Copyright 1988 by the Massachusetts Institute of Technology.
+ * For copying and distribution information, please see the file
+ * <mit-copyright.h>.
*/
+#include <mit-copyright.h>
#include <stdio.h>
#include <sys/time.h>
#include <sms.h>
last = s;
s++;
}
- *(++last) = '\0';
+ if (*last == ' ')
+ *last = '\0';
+ else
+ *(++last) = '\0';
}