Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Side by Side Diff: fusl/src/network/res_send.c

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #include <resolv.h> 1 #include <resolv.h>
2 #include "libc.h" 2 #include "libc.h"
3 3
4 int __res_msend(int, const unsigned char *const *, const int *, unsigned char *c onst *, int *, int); 4 int __res_msend(int,
5 const unsigned char* const*,
6 const int*,
7 unsigned char* const*,
8 int*,
9 int);
5 10
6 int __res_send(const unsigned char *msg, int msglen, unsigned char *answer, int anslen) 11 int __res_send(const unsigned char* msg,
7 { 12 int msglen,
8 » int r = __res_msend(1, &msg, &msglen, &answer, &anslen, anslen); 13 unsigned char* answer,
9 » return r<0 ? r : anslen; 14 int anslen) {
15 int r = __res_msend(1, &msg, &msglen, &answer, &anslen, anslen);
16 return r < 0 ? r : anslen;
10 } 17 }
11 18
12 weak_alias(__res_send, res_send); 19 weak_alias(__res_send, res_send);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698