Mercurial > pidgin
comparison libpurple/protocols/msn/msn.c @ 20554:11d09a5f7b46
Compile\!
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 19 Sep 2007 12:12:10 +0000 |
parents | a36fe4add25a |
children | b4a141f9294a |
comparison
equal
deleted
inserted
replaced
20553:bed3c9affda6 | 20554:11d09a5f7b46 |
---|---|
1571 | 1571 |
1572 static char * | 1572 static char * |
1573 msn_info_strip_search_link(const char *field, size_t len) | 1573 msn_info_strip_search_link(const char *field, size_t len) |
1574 { | 1574 { |
1575 const char *c; | 1575 const char *c; |
1576 if ((c = strstr(field, " (http://")) == NULL)) | 1576 if ((c = strstr(field, " (http://")) == NULL) |
1577 return g_strndup(field, len); | 1577 return g_strndup(field, len); |
1578 return g_strndup(field, c - field); | 1578 return g_strndup(field, c - field); |
1579 } | 1579 } |
1580 | 1580 |
1581 static void | 1581 static void |