mcabber/src/utils.c
changeset 1106 8e12137fab20
parent 1058 c0d44a9a99bc
child 1122 648fe6f715a6
equal deleted inserted replaced
1105:265e1d873d3e 1106:8e12137fab20
   364   /* it's okay as far as we can tell without LIBIDN */
   364   /* it's okay as far as we can tell without LIBIDN */
   365   return 0;
   365   return 0;
   366 }
   366 }
   367 
   367 
   368 
   368 
   369 void mc_strtolower(char *str)
   369 inline void mc_strtolower(char *str)
   370 {
   370 {
   371   if (!str) return;
   371   if (!str) return;
   372   for ( ; *str; str++)
   372   for ( ; *str; str++)
   373     *str = tolower(*str);
   373     *str = tolower(*str);
   374 }
   374 }