Mercurial > pidgin
changeset 12225:078f39bdf3d4
[gaim-migrate @ 14527]
Yet again, I managed to make a change after compiling and commit it without compiling again. Stupid!
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 25 Nov 2005 17:40:42 +0000 |
parents | e84fbd0be612 |
children | df0e16ecfb2a |
files | src/protocols/gg/utils.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/gg/utils.c Fri Nov 25 17:22:54 2005 +0000 +++ b/src/protocols/gg/utils.c Fri Nov 25 17:40:42 2005 +0000 @@ -30,13 +30,13 @@ 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))