Changeset 8fba2ee for perlconfig.c


Ignore:
Timestamp:
Jan 30, 2007, 5:25:06 PM (14 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
e363375
Parents:
7fc6253
git-author:
Nelson Elhage <nelhage@mit.edu> (01/30/07 17:23:45)
git-committer:
Nelson Elhage <nelhage@mit.edu> (01/30/07 17:25:06)
Message:
Be careful about messages with an empty type
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perlconfig.c

    r30678ae r8fba2ee  
    8787
    8888  type = owl_message_get_type(m);
    89   if(!type) type = "generic";
     89  if(!type || !*type) type = "generic";
    9090  type = owl_strdup(type);
    9191  type[0] = toupper(type[0]);
Note: See TracChangeset for help on using the changeset viewer.