~prateek.karandikar/ubuntu/precise/pidgin/add_quicklist

« back to all changes in this revision

Viewing changes to libpurple/protocols/zephyr/ZRecvPkt.c

  • Committer: Bazaar Package Importer
  • Author(s): Micah Gersten
  • Date: 2011-04-11 03:27:22 UTC
  • mfrom: (2.3.17 sid)
  • Revision ID: james.westby@ubuntu.com-20110411032722-farsw08i6ouj5dnd
Tags: 1:2.7.11-1ubuntu1
* Merge from Debian unstable (LP: #757146), remaining changes:
  + debian/control:
    - Add libtool and liblaunchpad-integration-dev build depends
    - Bump standards version
    - Relax binary depends on pidgin versions
    - Add pidgin-libnotify as Recommends for pidgin binary
    - Fix description of pidgin binary
    - Don't have libpurple-bin depend on libpurple0
  + debian/libpurple0.symbols: add epoch to appropriate symbols
  + Add debian/patches:
    - 02_lpi.patch
    - 04_let_crasher_for_apport.patch
    - 05_default_to_irc_ubuntu_com.patch
    - 10_docklet_default_off.patch
    - 11_buddy_list_really_show.patch
    - 13_sounds_and_timers.patch
    - 60_1024x600_gtkpounce.c.patch
    - 60_1024x600_gtkprefs.c.patch
  + debian/prefs.xml: add notification prefs
  + debian/rules:
    - Add translation domain to desktop file with gettext
    - Add the launcher for pidgin

* Add configure check for launchpad integration attached to the gtk check since 
  upstream dropped the startup notification check which is where this check was 
  previously
  - update debian/patches/02_lpi.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 *
6
6
 *      Copyright (c) 1987,1988 by the Massachusetts Institute of Technology.
7
7
 *      For copying and distribution information, see the file
8
 
 *      "mit-copyright.h". 
 
8
 *      "mit-copyright.h".
9
9
 */
10
10
 
11
11
#include "internal.h"
17
17
{
18
18
    Code_t retval;
19
19
    struct _Z_InputQ *nextq;
20
 
    
 
20
 
21
21
    if ((retval = Z_WaitForComplete()) != ZERR_NONE)
22
22
        return (retval);
23
23
 
26
26
    *ret_len = nextq->packet_len;
27
27
    if (*ret_len > Z_MAXPKTLEN)
28
28
        return (ZERR_PKTLEN);
29
 
    
 
29
 
30
30
    (void) memcpy(buffer, nextq->packet, *ret_len);
31
31
 
32
32
    if (from)
33
33
        *from = nextq->from;
34
 
        
 
34
 
35
35
    Z_RemQueue(nextq);
36
36
 
37
37
    return (ZERR_NONE);