Changeset fb00989 for lib


Ignore:
Timestamp:
2010-03-14T17:55:27Z (15 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
ceebeb1
Parents:
8fb1263 (diff), c6ca3ee (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:

Adding a few consts and other misc fixes from bug #431. Doing this via a
merge because bzr can probably deal with the conflicts better than patch.

Location:
lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/misc.c

    r8fb1263 rfb00989  
    3434#include "nogaim.h"
    3535#include "base64.h"
     36#include "md5.h"
    3637#include <stdio.h>
    3738#include <stdlib.h>
     
    523524
    524525/* Word wrapping. Yes, I know this isn't UTF-8 clean. I'm willing to take the risk. */
    525 char *word_wrap( char *msg, int line_len )
     526char *word_wrap( const char *msg, int line_len )
    526527{
    527528        GString *ret = g_string_sized_new( strlen( msg ) + 16 );
  • lib/misc.h

    r8fb1263 rfb00989  
    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.