summaryrefslogtreecommitdiff
blob: 01b8cdd1d5fc19e8918db68a3e9b048420b7b5ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Index: atscepg-0.1.1/structs.cpp
===================================================================
--- atscepg-0.1.1.orig/structs.cpp
+++ atscepg-0.1.1/structs.cpp
@@ -1,4 +1,5 @@
 #include <string.h>
+#include <stdlib.h>
 
 #include "structs.h"
 
@@ -159,6 +160,7 @@ const Channel& Channel::operator= (const
   minorChannelNumber  = arg.minorChannelNumber;
   free(short_name);
   short_name          = strdup(arg.short_name);
+  return *this;
 }