updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pidgin-fetion / 986.patch
blob3bd31a08dabd38afe6d3875cf186dcfb949010c6
1 --- f_login.c.orig 2009-08-30 13:15:56.798155006 +0800
2 +++ f_login.c 2009-08-30 13:21:01.774794346 +0800
3 @@ -351,8 +351,11 @@
5 ("Invalid Password or Mobileno"));
6 cfg_size = get_token(buf, "Content-Length: ", "\r\n");
7 - if (cfg_size == NULL)
8 - return;
9 + if (cfg_size == NULL) {
10 + cfg_size = get_token(buf, "Content-length: ", "\r\n");
11 + if (cfg_size == NULL)
12 + return;
13 + }
14 cur += 4;
15 sip->SysCfg.size = atoi(cfg_size);
16 sip->SysCfg.buf = g_malloc(sip->SysCfg.size);