projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rewrite last GPL bits in relay.c and relay.h
[ust.git]
/
ustd
/
ustd.c
diff --git
a/ustd/ustd.c
b/ustd/ustd.c
index 858bdf52b46c9e21ac6bab46e358ff016c117505..26f87a2ba3f991f0e7a5acba10aa8a6d3b539b17 100644
(file)
--- a/
ustd/ustd.c
+++ b/
ustd/ustd.c
@@
-33,9
+33,8
@@
#include <getopt.h>
#include "ustd.h"
#include <getopt.h>
#include "ustd.h"
-#include "
local
err.h"
+#include "
ust
err.h"
#include "ustcomm.h"
#include "ustcomm.h"
-#include "share.h"
/* return value: 0 = subbuffer is finished, it won't produce data anymore
* 1 = got subbuffer successfully
/* return value: 0 = subbuffer is finished, it won't produce data anymore
* 1 = got subbuffer successfully
@@
-546,7
+545,7
@@
static int write_pidfile(const char *file_name, pid_t pid)
{
FILE *pidfp;
{
FILE *pidfp;
- pidfp = fopen(file_name, "w
+
");
+ pidfp = fopen(file_name, "w");
if(!pidfp) {
PERROR("fopen (%s)", pidfile);
WARN("killing child process");
if(!pidfp) {
PERROR("fopen (%s)", pidfile);
WARN("killing child process");
@@
-699,7
+698,6
@@
int start_ustd_daemon()
}
else {
char buf;
}
else {
char buf;
- FILE *pidfp;
result = read(fd[0], &buf, 1);
if(result == -1) {
result = read(fd[0], &buf, 1);
if(result == -1) {
This page took
0.028045 seconds
and
4
git commands to generate.