Mercurial > pidgin.yaz
diff src/protocols/gg/gg.c @ 7631:ea2d07ad05a9
[gaim-migrate @ 8255]
long car rides and a power inverter can generate some interesting code tweaks
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Tue, 25 Nov 2003 07:16:11 +0000 |
parents | 3c21f3084ff0 |
children | 1b8261f374ea |
line wrap: on
line diff
--- a/src/protocols/gg/gg.c Tue Nov 25 06:56:44 2003 +0000 +++ b/src/protocols/gg/gg.c Tue Nov 25 07:16:11 2003 +0000 @@ -1,6 +1,6 @@ /* * gaim - Gadu-Gadu Protocol Plugin - * $Id: gg.c 8091 2003-11-11 20:34:00Z hermanator $ + * $Id: gg.c 8255 2003-11-25 07:16:11Z faceprint $ * * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> * @@ -86,7 +86,7 @@ static gboolean invalid_uin(const char *uin) { unsigned long int res = strtol(uin, (char **)NULL, 10); - if (res == LONG_MIN || res == LONG_MAX || res == 0) + if (res == ULONG_MAX || res == 0) return TRUE; return FALSE; }