# HG changeset patch # User Richard Laager # Date 1132940442 0 # Node ID 078f39bdf3d4285bec1bf39d39a0202b90b9a47f # Parent e84fbd0be61237c67746f75d67a6ec8649f91178 [gaim-migrate @ 14527] Yet again, I managed to make a change after compiling and commit it without compiling again. Stupid! committer: Tailor Script diff -r e84fbd0be612 -r 078f39bdf3d4 src/protocols/gg/utils.c --- 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))