Mercurial > hg > nnchat
comparison nnchat.c @ 202:4b93442bd411
Silence a warning under Solaris and few other systems by using th_isspace() wrapper instead of isspace().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 20 Nov 2010 12:15:13 +0200 |
parents | 21a37995c3fb |
children | e7538539de7f |
comparison
equal
deleted
inserted
replaced
201:f7b571debd81 | 202:4b93442bd411 |
---|---|
582 return 1; | 582 return 1; |
583 } | 583 } |
584 | 584 |
585 char * trimLeft(char *buf) | 585 char * trimLeft(char *buf) |
586 { | 586 { |
587 while (*buf != 0 && isspace(*buf)) buf++; | 587 while (*buf != 0 && th_isspace(*buf)) buf++; |
588 return buf; | 588 return buf; |
589 } | 589 } |
590 | 590 |
591 int compareUsername(const void *s1, const void *s2) | 591 int compareUsername(const void *s1, const void *s2) |
592 { | 592 { |