# HG changeset patch # User Eric Warmenhoven # Date 1004043481 0 # Node ID 3e2f455cb9241f039e36e3a540a88e088dcb5d66 # Parent 6f7e1fc3e132f8ef369ada18d7d8c9da464c9482 [gaim-migrate @ 2627] what kinds of drugs and alcohol were being consumed when this was written? committer: Tailor Script diff -r 6f7e1fc3e132 -r 3e2f455cb924 src/util.c --- a/src/util.c Thu Oct 25 20:24:00 2001 +0000 +++ b/src/util.c Thu Oct 25 20:58:01 2001 +0000 @@ -149,10 +149,8 @@ t--; strncpy(url_buf, c, t - c); url_buf[t - c] = 0; - cnt += - g_snprintf(&text[cnt++], 1024, "%s", - url_buf, url_buf); - cnt--; + cnt += g_snprintf(&text[cnt], 1024, "%s", + url_buf, url_buf); c = t; break; } @@ -179,11 +177,9 @@ t--; strncpy(url_buf, c, t - c); url_buf[t - c] = 0; - cnt += - g_snprintf(&text[cnt++], 1024, - "%s", url_buf, - url_buf); - cnt--; + cnt += g_snprintf(&text[cnt], 1024, + "%s", url_buf, + url_buf); c = t; break; } @@ -200,10 +196,8 @@ t--; strncpy(url_buf, c, t - c); url_buf[t - c] = 0; - cnt += - g_snprintf(&text[cnt++], 1024, "%s", - url_buf, url_buf); - cnt--; + cnt += g_snprintf(&text[cnt], 1024, "%s", + url_buf, url_buf); c = t; break; } @@ -224,11 +218,9 @@ t--; strncpy(url_buf, c, t - c); url_buf[t - c] = 0; - cnt += - g_snprintf(&text[cnt++], 1024, - "%s", url_buf, - url_buf); - cnt--; + cnt += g_snprintf(&text[cnt], 1024, + "%s", url_buf, + url_buf); c = t; break; } @@ -245,10 +237,8 @@ t--; strncpy(url_buf, c, t - c); url_buf[t - c] = 0; - cnt += - g_snprintf(&text[cnt++], 1024, "%s", - url_buf, url_buf); - cnt--; + cnt += g_snprintf(&text[cnt], 1024, "%s", + url_buf, url_buf); c = t; break; } @@ -299,13 +289,12 @@ if (badchar(*t)) { if (*(t - 1) == '.') t--; - cnt += - g_snprintf(&text[cnt++], 1024, - "%s", url_buf, url_buf); + cnt += g_snprintf(&text[cnt], 1024, + "%s", url_buf, + url_buf); text[cnt] = 0; - cnt--; c = t; break;