Mercurial > pidgin.yaz
changeset 925:1ff824e6bc19
[gaim-migrate @ 935]
, in url I think. Correct me if Im wrong
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Mon, 18 Sep 2000 10:43:38 +0000 |
parents | f6aa60716419 |
children | e62e9a78d98d |
files | src/util.c |
diffstat | 1 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/util.c Mon Sep 18 10:38:25 2000 +0000 +++ b/src/util.c Mon Sep 18 10:43:38 2000 +0000 @@ -144,6 +144,13 @@ t = c; while(1) { if (badchar(*t)) { + + if (*(t) == ',' && (*(t+1) != ' ')) + { + t++; + continue; + } + if (*(t-1) == '.') t--; strncpy(url_buf, c, t-c); @@ -166,6 +173,13 @@ if (t-c == 4) { break; } + + if (*(t) == ',' && (*(t+1) != ' ')) + { + t++; + continue; + } + if (*(t-1) == '.') t--; strncpy(url_buf, c, t-c);