Changeset e8c8d00 for lib


Ignore:
Timestamp:
2010-03-17T15:15:19Z (15 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
60e4df3
Parents:
1c3008a (diff), f9928cb (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merging mainline.

Location:
lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/misc.c

    r1c3008a re8c8d00  
    3434#include "nogaim.h"
    3535#include "base64.h"
     36#include "md5.h"
    3637#include <stdio.h>
    3738#include <stdlib.h>
     
    8990        { "gt",     ">" },
    9091        { "amp",    "&" },
     92        { "apos",   "'" },
    9193        { "quot",   "\"" },
    9294        { "aacute", "á" },
     
    522524
    523525/* Word wrapping. Yes, I know this isn't UTF-8 clean. I'm willing to take the risk. */
    524 char *word_wrap( char *msg, int line_len )
     526char *word_wrap( const char *msg, int line_len )
    525527{
    526528        GString *ret = g_string_sized_new( strlen( msg ) + 16 );
  • lib/misc.h

    r1c3008a re8c8d00  
    6262G_MODULE_EXPORT struct ns_srv_reply *srv_lookup( char *service, char *protocol, char *domain );
    6363
    64 G_MODULE_EXPORT char *word_wrap( char *msg, int line_len );
     64G_MODULE_EXPORT char *word_wrap( const char *msg, int line_len );
    6565
    6666G_MODULE_EXPORT gboolean ssl_sockerr_again( void *ssl );
Note: See TracChangeset for help on using the changeset viewer.