Mercurial > pidgin
diff libpurple/protocols/zephyr/ZParseNot.c @ 31086:a8cc50c2279f
Remove trailing whitespace
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 04 Jan 2011 06:55:30 +0000 |
parents | 5fe8042783c1 |
children |
line wrap: on
line diff
--- a/libpurple/protocols/zephyr/ZParseNot.c Tue Jan 04 06:42:45 2011 +0000 +++ b/libpurple/protocols/zephyr/ZParseNot.c Tue Jan 04 06:55:30 2011 +0000 @@ -5,7 +5,7 @@ * * Copyright (c) 1987,1991 by the Massachusetts Institute of Technology. * For copying and distribution information, see the file - * "mit-copyright.h". + * "mit-copyright.h". */ #include "internal.h" @@ -84,12 +84,12 @@ #endif (void) memset((char *)notice, 0, sizeof(ZNotice_t)); - + ptr = buffer; end = buffer+len; notice->z_packet = buffer; - + notice->z_version = ptr; if (strncmp(ptr, ZVERSIONHDR, sizeof(ZVERSIONHDR) - 1)) return (ZERR_VERS); @@ -141,7 +141,7 @@ } else BAD_PACKET; - + if (numfields) { if (ZReadAscii(ptr, end-ptr, (unsigned char *)¬ice->z_uid, sizeof(ZUnique_Id_t)) == ZERR_BADFIELD) @@ -153,7 +153,7 @@ } else BAD_PACKET; - + if (numfields) { if (ZReadAscii16(ptr, end-ptr, ¬ice->z_port) == ZERR_BADFIELD) BAD_PACKET; @@ -174,7 +174,7 @@ else BAD_PACKET; notice->z_checked_auth = ZAUTH_UNSET; - + if (numfields) { if (ZReadAscii32(ptr, end-ptr, &temp) == ZERR_BADFIELD) BAD_PACKET; @@ -200,7 +200,7 @@ } else notice->z_class = ""; - + if (numfields) { notice->z_class_inst = ptr; numfields--; @@ -240,7 +240,7 @@ } else notice->z_default_format = ""; - + /*XXX*/ if (ZReadAscii32(ptr, end-ptr, &temp) == ZERR_BADFIELD) BAD_PACKET; @@ -273,10 +273,10 @@ next_field (ptr); } notice->z_num_other_fields = i; - + for (i=0;i<numfields;i++) next_field (ptr); - + notice->z_message = (void *)ptr; notice->z_message_len = len-(ptr-buffer);