From: Richard L. <rl...@us...> - 2005-11-25 17:40:51
|
Update of /cvsroot/gaim/gaim/src/protocols/gg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30422 Modified Files: utils.c Log Message: Yet again, I managed to make a change after compiling and commit it without compiling again. Stupid! Index: utils.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/gg/utils.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -p -r1.5 -r1.6 --- utils.c 25 Nov 2005 17:22:54 -0000 1.5 +++ utils.c 25 Nov 2005 17:40:42 -0000 1.6 @@ -30,13 +30,13 @@ uin_t ggp_str_to_uin(const char *str) char *tmp; long num; - if (!text) + if (!str) return 0; errno = 0; - num = strtol(text, &tmp, 10); + num = strtol(str, &tmp, 10); - if (*text == '\0' || *tmp != '\0') + if (*str == '\0' || *tmp != '\0') return 0; if ((errno == ERANGE || (num == LONG_MAX || num == LONG_MIN)) |